Revert "global: Run maybe_gc at leisure again"

It's causing segfaults so let's back it out for 3.12.1

This reverts commit 2f576e3076.
This commit is contained in:
Rui Matos 2014-04-15 14:05:10 +02:00
parent 2f576e3076
commit 7b4254da4e

View File

@ -1401,10 +1401,6 @@ run_leisure_functions (gpointer data)
if (global->work_count > 0)
return FALSE;
/* This will help avoid both heap fragmentation,
and the GC kicking in when we don't want it to. */
gjs_context_maybe_gc (global->js_context);
/* No leisure closures, so we are done */
if (global->leisure_closures == NULL)
return FALSE;