[gnome-shell/gnome-3-12] Revert "global: Run maybe_gc at leisure again"



commit 7b4254da4e8897fe3c63fc858d10739821bce54f
Author: Rui Matos <tiagomatos gmail com>
Date:   Tue Apr 15 14:05:10 2014 +0200

    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 2f576e3076292941835d2d57d6963519fe4c744c.

 src/shell-global.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/shell-global.c b/src/shell-global.c
index 46a1b72..336639d 100644
--- a/src/shell-global.c
+++ b/src/shell-global.c
@@ -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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]