Closed Bug 1322619 Opened 8 years ago Closed 7 years ago

Don't mask uncaught exceptions on shutdown

Categories

(Firefox for Android Graveyard :: General, defect)

All
Android
defect
Not set
normal

Tracking

(firefox57 fixed)

RESOLVED FIXED
Firefox 57
Tracking Status
firefox57 --- fixed

People

(Reporter: jchen, Assigned: jchen)

Details

Attachments

(1 file)

We currently ignore uncaught exceptions when shutting down, but all that does is letting the crashing thread die and potentially preventing shutdown.
We used to mask exceptions on shutdown due to calling System.exit for
shutting down. Now we simply kill the process, so there's no need to
mask exceptions anymore.
Attachment #8895895 - Flags: review?(droeh)
Comment on attachment 8895895 [details] [diff] [review]
Don't mask exceptions on shutdown (v1)

Review of attachment 8895895 [details] [diff] [review]:
-----------------------------------------------------------------

LGTM
Attachment #8895895 - Flags: review?(droeh) → review+
Pushed by nchen@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/1b9dac0c4cf3
Don't mask exceptions on shutdown; r=droeh
https://hg.mozilla.org/mozilla-central/rev/1b9dac0c4cf3
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 57
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: