зеркало из https://github.com/mozilla/gecko-dev.git
Bug 411249 Top crash [@ jsds_ScriptHookProc][@jsds_ScriptHookProc(JSDContext*, JSDScript*, int, void*)] on shutdown with Firebug 1.1.0b10 installed r=gijs a=beltzner
This commit is contained in:
Родитель
ce2e4560ea
Коммит
1d2542004c
|
@ -464,6 +464,15 @@ jsds_FilterHook (JSDContext *jsdc, JSDThreadState *state)
|
|||
JS_STATIC_DLL_CALLBACK (void)
|
||||
jsds_NotifyPendingDeadScripts (JSContext *cx)
|
||||
{
|
||||
/* Bug 411249, we can't drop the script hook.
|
||||
* Even if we could drop the script hook, jsds_GCCallbackProc
|
||||
* is never cleared, so it would call us anyway.
|
||||
*
|
||||
* If there's no gJsds, then we can't do anything.
|
||||
*/
|
||||
if (!gJsds)
|
||||
return;
|
||||
|
||||
nsCOMPtr<jsdIScriptHook> hook = 0;
|
||||
gJsds->GetScriptHook (getter_AddRefs(hook));
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче