зеркало из https://github.com/mozilla/gecko-dev.git
Checking in patch from toml@us.ibm.com. This fixes bug 66413, crash when closing windows after using LiveConnect. r=me, sr=jband@netscaoe.com
This commit is contained in:
Родитель
e2d67392d5
Коммит
c291c89e75
|
@ -371,6 +371,9 @@ nsJSContext::~nsJSContext()
|
|||
if (!mContext)
|
||||
return;
|
||||
|
||||
// Clear our entry in the JSContext, bugzilla bug 66413
|
||||
::JS_SetContextPrivate(mContext, nsnull);
|
||||
|
||||
// Unregister our "javascript.options.*" pref-changed callback.
|
||||
nsresult rv;
|
||||
NS_WITH_SERVICE(nsIPref, prefs, kPrefServiceCID, &rv);
|
||||
|
|
Загрузка…
Ссылка в новой задаче