mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
Bug 1480965 - Fix review nit. r=asuth
--HG-- extra : rebase_source : 5403d4a11f6753d086fcc7a64314b72e31419a30
This commit is contained in:
parent
80b21bd224
commit
f91879804f
@ -1941,7 +1941,7 @@ ServiceWorkerPrivate::TerminateWorker()
|
||||
}
|
||||
|
||||
Unused << NS_WARN_IF(!mWorkerPrivate->Cancel());
|
||||
mWorkerPrivate = nullptr;
|
||||
RefPtr<WorkerPrivate> workerPrivate(mWorkerPrivate.forget());
|
||||
mSupportsArray.Clear();
|
||||
|
||||
// Any pending events are never going to fire on this worker. Cancel
|
||||
|
Loading…
Reference in New Issue
Block a user