зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1540314: Devtools promise actor: Use ActorPool 'destroy' method. r=gl
The prior code calls '.cleanup()', but ActorPools have no 'cleanup' method. I think it means to call 'destroy'. Differential Revision: https://phabricator.services.mozilla.com/D29755 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
54f04058eb
Коммит
570a2fedee
|
@ -191,7 +191,7 @@ var PromisesActor = protocol.ActorClassWithSpec(promisesSpec, {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
this._navigationLifetimePool.cleanup();
|
this._navigationLifetimePool.destroy();
|
||||||
this.dbg.removeAllDebuggees();
|
this.dbg.removeAllDebuggees();
|
||||||
this.dbg.addDebuggees();
|
this.dbg.addDebuggees();
|
||||||
}),
|
}),
|
||||||
|
|
Загрузка…
Ссылка в новой задаче