mirror of
https://github.com/Ylianst/MeshAgent
synced 2026-01-13 22:14:00 +00:00
Updated promise reference
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -243,10 +243,10 @@ function Promise(promiseFunc)
|
||||
{
|
||||
// Save reference of this object
|
||||
refTable[this._internal._hashCode()] = this._internal;
|
||||
this._internal.once('settled', (function ()
|
||||
this._internal.once('settled', function ()
|
||||
{
|
||||
delete refTable[this._hashCode()];
|
||||
}).internal);
|
||||
});
|
||||
}
|
||||
Object.defineProperty(this, "completed", {
|
||||
get: function ()
|
||||
|
||||
Reference in New Issue
Block a user