зеркало из https://github.com/mozilla/pjs.git
backout 32502a2c5671 b=559492 due to seg fault in storage/test/test_transaction_helper.cpp possibly in DumpLeakedURLs
This commit is contained in:
Родитель
94e171d3e2
Коммит
dc971b30c1
|
@ -343,6 +343,7 @@ nsStandardURL::InitGlobalObjects()
|
|||
|
||||
#ifdef DEBUG_DUMP_URLS_AT_SHUTDOWN
|
||||
PR_INIT_CLIST(&gAllURLs);
|
||||
atexit(DumpLeakedURLs);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -351,10 +352,6 @@ nsStandardURL::ShutdownGlobalObjects()
|
|||
{
|
||||
NS_IF_RELEASE(gIDN);
|
||||
NS_IF_RELEASE(gCharsetMgr);
|
||||
|
||||
#ifdef DEBUG_DUMP_URLS_AT_SHUTDOWN
|
||||
atexit(DumpLeakedURLs);
|
||||
#endif
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
|
Загрузка…
Ссылка в новой задаче