From c906c85901b33ef1e4ef2309bdb7c77f6fe8261b Mon Sep 17 00:00:00 2001 From: "L. David Baron" Date: Wed, 19 Jun 2013 16:55:06 -0700 Subject: [PATCH] Fix XPC_DUMP_AT_SHUTDOWN bustage from Bug 882162 Part 1 (changeset efb0b493cc21). --- js/xpconnect/src/XPCJSRuntime.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/xpconnect/src/XPCJSRuntime.cpp b/js/xpconnect/src/XPCJSRuntime.cpp index 58780893131..780aaa1820a 100644 --- a/js/xpconnect/src/XPCJSRuntime.cpp +++ b/js/xpconnect/src/XPCJSRuntime.cpp @@ -1249,7 +1249,7 @@ XPCJSRuntime::~XPCJSRuntime() // count the total JSContexts in use JSContext* iter = nullptr; int count = 0; - while (JS_ContextIterator(mJSRuntime, &iter)) + while (JS_ContextIterator(Runtime(), &iter)) count ++; if (count) printf("deleting XPCJSRuntime with %d live JSContexts\n", count);