mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
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:
parent
ce2e4560ea
commit
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));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user