mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 271313 - nsMemory::HeapMinimize crashes r=darin (regression introduced in bug 267767
This commit is contained in:
parent
fd060f4ede
commit
ab83401377
@ -230,10 +230,10 @@ nsMemoryImpl::IsLowMemory(PRBool *result)
|
||||
nsresult
|
||||
nsMemoryImpl::Startup()
|
||||
{
|
||||
#ifdef NS_MEMORY_FLUSHER_THREAD
|
||||
sFlushLock = PR_NewLock();
|
||||
if (!sFlushLock) return NS_ERROR_FAILURE;
|
||||
|
||||
#ifdef NS_MEMORY_FLUSHER_THREAD
|
||||
return sGlobalMemoryFlusher.Init();
|
||||
#else
|
||||
return NS_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user