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:
Jim Blandy 2019-05-03 01:19:20 +00:00
Родитель 54f04058eb
Коммит 570a2fedee
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -191,7 +191,7 @@ var PromisesActor = protocol.ActorClassWithSpec(promisesSpec, {
return;
}
this._navigationLifetimePool.cleanup();
this._navigationLifetimePool.destroy();
this.dbg.removeAllDebuggees();
this.dbg.addDebuggees();
}),