зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1283674 P0 Drop cached controlling ServiceWorker ref when ServiceWorkerContainer window is disconnect. r=baku
This commit is contained in:
Родитель
498431cc2a
Коммит
4a424977b6
|
@ -69,6 +69,7 @@ ServiceWorkerContainer::~ServiceWorkerContainer()
|
|||
void
|
||||
ServiceWorkerContainer::DisconnectFromOwner()
|
||||
{
|
||||
mControllerWorker = nullptr;
|
||||
RemoveReadyPromise();
|
||||
DOMEventTargetHelper::DisconnectFromOwner();
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче