[gjs] context: Drop unnecessary duplicate invocation of toggle ref cleanup



commit 2567e8f5100378ae796f663246819f4d6680c257
Author: Colin Walters <walters verbum org>
Date:   Mon Apr 8 11:02:18 2013 -0400

    context: Drop unnecessary duplicate invocation of toggle ref cleanup
    
    We just need to do it before the final context destruction.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=697436

 gjs/context.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gjs/context.c b/gjs/context.c
index fa55f63..4ba8b3a 100644
--- a/gjs/context.c
+++ b/gjs/context.c
@@ -384,8 +384,6 @@ gjs_context_dispose(GObject *object)
         gjs_debug(GJS_DEBUG_CONTEXT,
                   "Destroying JS context");
 
-        gjs_object_process_pending_toggles();
-
         /* Do a full GC here before tearing down, since once we do
          * that we may not have the JS_GetPrivate() to access the
          * context


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