mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 829477 - Don't notify the UI if we didn't have crash ID. r=fabrice
Thanks margaret! --HG-- extra : rebase_source : cde55fa2e2ed892f1f2dd3943122d55dae688e43
This commit is contained in:
parent
5e2164f00b
commit
9e3d9f14ba
@ -121,12 +121,16 @@ var shell = {
|
||||
}
|
||||
} catch (e) { }
|
||||
|
||||
// Let Gaia notify the user of the crash.
|
||||
this.sendChromeEvent({
|
||||
type: "handle-crash",
|
||||
crashID: crashID,
|
||||
chrome: isChrome
|
||||
});
|
||||
// We can get here if we're just submitting old pending crashes.
|
||||
// Check that there's a valid crashID so that we only notify the
|
||||
// user if a crash just happened and not when we OOM. Bug 829477
|
||||
if (crashID) {
|
||||
this.sendChromeEvent({
|
||||
type: "handle-crash",
|
||||
crashID: crashID,
|
||||
chrome: isChrome
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
// this function submit the pending crashes.
|
||||
|
Loading…
Reference in New Issue
Block a user