mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-25 20:53:15 +00:00
1. Set upperbound on number of Windows WaitHandles
2. Fixed Windows_IPC to DisconnectNamedPipe() on connected handled when 'end' is called 3. Fixed Windispatch to terminate on when close is emitted
This commit is contained in:
@@ -160,6 +160,12 @@ function Promise(promiseFunc)
|
||||
refTable[this._internal._hashCode()] = this._internal;
|
||||
this._internal.once('settled', function () { refTable[this._hashCode()] = null; });
|
||||
}
|
||||
Object.defineProperty(this, "completed", {
|
||||
get: function ()
|
||||
{
|
||||
return (this._internal.completed);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Promise.resolve = function resolve()
|
||||
|
||||
Reference in New Issue
Block a user