Bug 883657, part 2 - Don't force a GC in mozJSComponentLoader::UnloadModules. r=bholley

This commit is contained in:
Andrew McCreight 2013-06-25 08:42:40 -07:00
parent 9492393f92
commit ddcec6be65

View File

@ -1144,8 +1144,7 @@ mozJSComponentLoader::UnloadModules()
mModules.Enumerate(ClearModules, NULL);
// Destroying our context will force a GC.
JS_DestroyContext(mContext);
JS_DestroyContextNoGC(mContext);
mContext = nullptr;
mRuntimeService = nullptr;