Bug 1169643 - Stop preventing reloading crashed tabs when devtools are opened. r=jryans

This commit is contained in:
Alexandre Poirot 2015-10-22 08:06:16 -07:00
parent 2853b7dd46
commit 101f877c07

View File

@ -1030,7 +1030,11 @@ var DebuggerServer = {
aConnection.cancelForwarding(prefix);
// ... and notify the child process to clean the tab actors.
mm.sendAsyncMessage("debug:disconnect", { prefix: prefix });
try {
// Bug 1169643: Ignore any exception as the child process
// may already be destroyed by now.
mm.sendAsyncMessage("debug:disconnect", { prefix: prefix });
} catch(e) {}
} else {
// Otherwise, the app has been closed before the actor
// had a chance to be created, so we are not able to create