mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 14:52:16 +00:00
Bug 1471018 - Speed-up AsmJSCache shutdown by setting the shutdown requested flag; r=asuth
This commit is contained in:
parent
dc30c2faac
commit
16430edcdd
@ -1938,6 +1938,9 @@ void
|
||||
Client::ShutdownWorkThreads()
|
||||
{
|
||||
AssertIsOnBackgroundThread();
|
||||
MOZ_ASSERT(!mShutdownRequested);
|
||||
|
||||
mShutdownRequested = true;
|
||||
|
||||
if (sLiveParentActors) {
|
||||
MOZ_ALWAYS_TRUE(SpinEventLoopUntil([&]() {
|
||||
|
Loading…
Reference in New Issue
Block a user