mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 09:15:35 +00:00
Bug 1169643 - Stop preventing reloading crashed tabs when devtools are opened. r=jryans
This commit is contained in:
parent
2853b7dd46
commit
101f877c07
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user