1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2026-01-13 22:14:00 +00:00

Updated promise reference

This commit is contained in:
Bryan Roe
2021-03-04 10:23:10 -08:00
parent 1b6fd98b88
commit 8f6bb1a527
2 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@@ -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 ()