mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 05:10:49 +00:00
took out calls to NS_InitGarbageCollector() & NS_ShutdownGarbageCollector() which are now supplanted by internal NSPR versions. r=gordon, bug #15906
This commit is contained in:
parent
e5a1d5da15
commit
ddd1c99054
@ -174,12 +174,6 @@ nsresult NS_COM NS_InitXPCOM(nsIServiceManager* *result,
|
||||
{
|
||||
nsresult rv = NS_OK;
|
||||
|
||||
#ifdef GC_LEAK_DETECTOR
|
||||
// 0. Initialize the GC.
|
||||
rv = NS_InitGarbageCollector();
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
#endif
|
||||
|
||||
// Establish the main thread here.
|
||||
rv = nsIThread::SetMainThread();
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
@ -573,8 +567,6 @@ nsresult NS_COM NS_ShutdownXPCOM(nsIServiceManager* servMgr)
|
||||
#ifdef GC_LEAK_DETECTOR
|
||||
// Shutdown the Leak detector.
|
||||
NS_ShutdownLeakDetector();
|
||||
// Shutdown the GC.
|
||||
NS_ShutdownGarbageCollector();
|
||||
#endif
|
||||
|
||||
return NS_OK;
|
||||
|
Loading…
x
Reference in New Issue
Block a user