Commit 45237980 authored by Olli Pettay's avatar Olli Pettay
Browse files

Bug 1731293, change the assertion to check only that we aren't on the main...

Bug 1731293, change the assertion to check only that we aren't on the main thread since the worker thread isn't really running, r=asuth

Differential Revision: https://phabricator.services.mozilla.com/D125999
parent 3b40e004
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -127,7 +127,7 @@ void PerformanceStorageWorker::ShutdownOnWorker() {
    return;
  }

  MOZ_ASSERT(IsCurrentThreadRunningWorker());
  MOZ_ASSERT(!NS_IsMainThread());

  mWorkerRef = nullptr;
}