mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Don't try to update the debugging options while the browser is shutting down (bug 1054325); r=mratcliffe
--HG-- extra : rebase_source : c75b9802b3b30c5ddb6eecaa33d99af0170c80b4
This commit is contained in:
parent
39352b1eb9
commit
10ef7a7f9c
@ -1082,6 +1082,11 @@ TabActor.prototype = {
|
||||
// Wait a tick so that the response packet can be dispatched before the
|
||||
// subsequent navigation event packet.
|
||||
Services.tm.currentThread.dispatch(DevToolsUtils.makeInfallible(() => {
|
||||
// This won't work while the browser is shutting down and we don't really
|
||||
// care.
|
||||
if (Services.startup.shuttingDown) {
|
||||
return;
|
||||
}
|
||||
this.webNavigation.reload(force ? Ci.nsIWebNavigation.LOAD_FLAGS_BYPASS_CACHE
|
||||
: Ci.nsIWebNavigation.LOAD_FLAGS_NONE);
|
||||
}, "TabActor.prototype.onReload's delayed body"), 0);
|
||||
|
Loading…
Reference in New Issue
Block a user