Bug 271313 - nsMemory::HeapMinimize crashes r=darin (regression introduced in bug 267767

This commit is contained in:
bsmedberg%covad.net 2004-11-23 17:20:00 +00:00
parent fd060f4ede
commit ab83401377

View File

@ -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;