mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-04 07:40:42 +00:00
Bug 883657, part 2 - Don't force a GC in mozJSComponentLoader::UnloadModules. r=bholley
This commit is contained in:
parent
9492393f92
commit
ddcec6be65
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user