Bug 531225 - 'Workers: Share strings across thread boundary'. Fix shutdown leak

This commit is contained in:
Ben Turner 2010-02-23 09:57:14 -08:00
Родитель 191d07f2f5
Коммит b0438b8470
1 изменённых файлов: 0 добавлений и 9 удалений

Просмотреть файл

@ -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