зеркало из https://github.com/mozilla/gecko-dev.git
Fix for bug 41433 (assert/crash in DNS for offline-online) We were not destroying the monitor in shutdown. r=bryner
This commit is contained in:
Родитель
6dff277714
Коммит
db8ee85410
|
@ -1236,6 +1236,12 @@ nsDNSService::Shutdown()
|
|||
// Have to break the cycle here, otherwise nsDNSService holds onto the thread
|
||||
// and the thread holds onto the nsDNSService via its mRunnable
|
||||
mThread = nsnull;
|
||||
|
||||
if (mMonitor)
|
||||
{
|
||||
nsAutoMonitor::DestroyMonitor(mMonitor);
|
||||
mMonitor = nsnull;
|
||||
}
|
||||
|
||||
return rv;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче