зеркало из https://github.com/mozilla/pjs.git
Bug 531225 - 'Workers: Share strings across thread boundary'. Fix shutdown leak
This commit is contained in:
Родитель
191d07f2f5
Коммит
b0438b8470
|
@ -880,15 +880,6 @@ nsDOMThreadService::Cleanup()
|
|||
// These must be released after the thread pool is shut down.
|
||||
NS_IF_RELEASE(gJSRuntimeService);
|
||||
NS_IF_RELEASE(gWorkerSecurityManager);
|
||||
|
||||
if (sStringFinalizerIndex != -1) {
|
||||
#ifdef DEBUG
|
||||
int index =
|
||||
#endif
|
||||
JS_RemoveExternalStringFinalizer(StringFinalizer);
|
||||
NS_ASSERTION(index == sStringFinalizerIndex, "Bad index!");
|
||||
sStringFinalizerIndex = -1;
|
||||
}
|
||||
}
|
||||
|
||||
nsresult
|
||||
|
|
Загрузка…
Ссылка в новой задаче