Remove |#ifdef NS_TRACE_MALLOC| code to flush logfiles for real-time TM readers until we figure out a better way to do it that doesn't break low and lowest priority timers. b=111651 r=brendan sr=waterson

This commit is contained in:
dbaron%fas.harvard.edu 2001-11-28 04:48:38 +00:00
parent 2019c65bd9
commit 3892434dfd

View File

@ -332,17 +332,6 @@ NS_IMETHODIMP nsAppShell::Spindown()
return NS_OK;
}
#ifdef NS_TRACE_MALLOC
#include "nsTraceMalloc.h"
static gint
tm_flush_logfiles(gpointer data)
{
NS_TraceMallocFlushLogfiles();
return 1;
}
#endif
//-------------------------------------------------------------------------
//
// Run
@ -356,10 +345,6 @@ NS_IMETHODIMP nsAppShell::Run()
if (!mEventQueue)
return NS_ERROR_NOT_INITIALIZED;
#ifdef NS_TRACE_MALLOC
gtk_idle_add(tm_flush_logfiles, nsnull);
#endif
// kick up gtk_main. this won't return until gtk_main_quit is called
gtk_main();