Bug 453403. Fix leak of nsHostResolver by making sure to wake up all the worker threads on shutdown
This commit is contained in:
Родитель
e90425c52e
Коммит
be8fd14f62
|
@ -430,7 +430,7 @@ nsHostResolver::Shutdown()
|
|||
mPendingCount = 0;
|
||||
|
||||
if (mNumIdleThreads)
|
||||
PR_NotifyCondVar(mIdleThreadCV);
|
||||
PR_NotifyAllCondVar(mIdleThreadCV);
|
||||
|
||||
// empty host database
|
||||
PL_DHashTableEnumerate(&mDB, HostDB_RemoveEntry, nsnull);
|
||||
|
|
Загрузка…
Ссылка в новой задаче