Closed Bug 907436 Opened 11 years ago Closed 11 years ago

ClearWatch does not call ShutDown in GonkGPSGeolocationProvider, instead calls Startup

Categories

(Core :: DOM: Geolocation, defect, P1)

ARM
Gonk (Firefox OS)
defect

Tracking

()

RESOLVED DUPLICATE of bug 898240

People

(Reporter: stephenl, Assigned: kanru)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36

Steps to reproduce:

1. Start tracking session by WatchPosition
2. wait a few seconds and stop the session by calling : clearWatch



Actual results:

1. ShutDown is not getting called in GonkGPSGeolocationProvider
2. Also see a Startup getting called instead


Expected results:

1. Shutdown should have got called and the nsGeolocationservice should have stopped.
Severity: normal → blocker
OS: Windows 7 → Gonk (Firefox OS)
Priority: -- → P1
Hardware: x86_64 → ARM
Kan-Ru, can you take a look?
Assignee: nobody → kchen
Stephen, could you try the patch in bug 898240? It fixes this problem for me.
I verified the patch from https://bugzilla.mozilla.org/show_bug.cgi?id=898240 as per the comments, and it works fine. Please land the patch.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.