mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 20:35:50 +00:00
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:
parent
2019c65bd9
commit
3892434dfd
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user