Closed
Bug 792684
Opened 12 years ago
Closed 6 years ago
Add a mechanism to do a proper shutdown of b2g on the phone
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: dhylands, Unassigned)
Details
Currently, there is no mechanism which does a proper shutdown of b2g on a real device. More specifically, there isn't any mechanism which causes xpcom-shutdown to be fired. This means that many shutdown code-paths can't be tested properly, and that we can't easily check for memory leaks, etc. Doing "adb shell stop b2g" causes a SIGKILL to be sent to b2g, which means no cleanup can be performed.
Reporter | ||
Updated•12 years ago
|
OS: Linux → Gonk
Hardware: x86_64 → ARM
Note, we have work ongoing to go through xpcom shutdown for reboot/poweroff. Test harnesses themselves will quit manually. We have no hope of preventing shutdown issues until we have automated leak tests on tbpl. Shutdown is like junk DNA, it will just randomly evolve crap if left alone. I'm not sure exactly what you're requesting here, but a non-release-build only magic option to quit b2g normally (as opposed to reboot/poweroff) might be useful.
Reporter | ||
Comment 2•12 years ago
|
||
I'd be happy with a non-release-build only, magic option to quit b2g "normally".
Comment 3•6 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•