Closed Bug 1043404 Opened 11 years ago Closed 8 years ago

Persist command replies while shutting down Find My Device

Categories

(Firefox OS Graveyard :: FindMyDevice, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: ggp, Unassigned, Mentored)

References

Details

If a request to the server fails, FMD is not guaranteed to stay alive until the 'retry' alarm is triggered, since we're not holding any wakelocks (bug 1038881). Because of that, the replies to previous server commands (stored in memory in the _reply member variable) may be lost if FMD is killed. To solve this, we can either persist _reply (which I think is the cleanest way to do it), or hold a wakelock while waiting for the 'retry' alarm to fire (which may take up to 5 minutes).
Mentor: ggoncalves
Summary: Persist command replies while shutting down FMD → Persist command replies while shutting down Find My Device
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.