Closed
Bug 849901
Opened 12 years ago
Closed 4 years ago
Investigate shutdown code assumptions
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: bnicholson, Unassigned)
Details
We have code in onDestroy() that sends a shutdown event to Gecko, where presumably we're doing some cleanup or persisting things to disk.
From https://bugzilla.mozilla.org/show_bug.cgi?id=823285#c21:
We're trying to force a simple open/close desktop application model onto Android, but we simply have no reliable way to know when we're closing. I think the way to fix this would be to not rely on executing a shutdown event at all, but to instead make sure that all necessary data is saved when we receive onPause() (which would likely overlap the part of shutdown logic that persists data, but not the part that finishes Gecko). Several critical I/O components - session restore, disk cache, and prefs - already do this. I don't know if there are other essential components that need to flush to disk as well, but if there are, they aren't working now anyway.
Comment 1•4 years ago
|
||
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE
Assignee | ||
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•