зеркало из https://github.com/mozilla/gecko-dev.git
bug 1321884 - clean up the HeldMutexStack on helper threads r=jonco
The HeldMutexStack is cleaned up in JS_ShutDown() on the main thread, but since it is thread local we need to clean it up on other threads where it is used.
This commit is contained in:
Родитель
8ccfaa7a63
Коммит
b2e95c2ac2
|
@ -1407,6 +1407,7 @@ HelperThread::ThreadMain(void* arg)
|
|||
FIX_FPU();
|
||||
|
||||
static_cast<HelperThread*>(arg)->threadLoop();
|
||||
Mutex::ShutDown();
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Загрузка…
Ссылка в новой задаче