[gjs] Revert "context: enter request before GC in gjs_context_dispose"



commit bc9f6c343b71e0c40ad2f5cf49121a4efaf8f7aa
Author: Colin Walters <walters verbum org>
Date:   Thu Feb 13 08:45:18 2014 -0500

    Revert "context: enter request before GC in gjs_context_dispose"
    
    This reverts commit adb6c1ff9f33299564f36cf181062aa29a2629a8 ; it
    causes crashes for me on RHEL7/x86_64 + jhbuild.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=724097

 gjs/context.cpp |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gjs/context.cpp b/gjs/context.cpp
index 7ba7664..1ea0a3b 100644
--- a/gjs/context.cpp
+++ b/gjs/context.cpp
@@ -335,8 +335,6 @@ gjs_context_dispose(GObject *object)
 
     if (js_context->context != NULL) {
 
-        JSAutoRequest ar(js_context->context);
-
         gjs_debug(GJS_DEBUG_CONTEXT,
                   "Destroying JS context");
 


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