mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 959218 - Avoid race condition when shutting down nsDeleteDir thread. r=mnovotny
This commit is contained in:
parent
954ca245d4
commit
152939bb42
2
netwerk/cache/nsDeleteDir.cpp
vendored
2
netwerk/cache/nsDeleteDir.cpp
vendored
@ -102,7 +102,7 @@ nsDeleteDir::Shutdown(bool finishDeleting)
|
||||
}
|
||||
|
||||
rv = gInstance->mCondVar.Wait();
|
||||
thread->Shutdown();
|
||||
nsShutdownThread::BlockingShutdown(thread);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user