[gjs/wip/xulrunner-1.9.3-rebase2] [SQUASH] remove global object root removal



commit 44d5bb58cb76fa1c399559ae59077886e0821555
Author: Colin Walters <walters verbum org>
Date:   Mon Sep 20 11:11:18 2010 -0400

    [SQUASH] remove global object root removal

 gjs/context.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gjs/context.c b/gjs/context.c
index 3cd6b78..a4f004c 100644
--- a/gjs/context.c
+++ b/gjs/context.c
@@ -345,9 +345,6 @@ gjs_context_dispose(GObject *object)
     }
 
     if (js_context->global != NULL) {
-        JS_BeginRequest(js_context->context);
-        JS_RemoveObjectRoot(js_context->context, &js_context->global);
-        JS_EndRequest(js_context->context);
         js_context->global = NULL;
     }
 



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