Add a high accuracy Add a non-high accuracy Remove the high accuracy -->we stay in high accuracy The problem is we have one client for all the controller, and the controller assume its client manage setEnableHighAccuracy per controller: void GeolocationController::removeObserver(Geolocation* observer) { if (!m_observers.contains(observer)) return; m_observers.remove(observer); m_highAccuracyObservers.remove(observer); if (m_client) { if (m_observers.isEmpty()) m_client->stopUpdating(); else if (m_highAccuracyObservers.isEmpty()) m_client->setEnableHighAccuracy(false); } }
<rdar://problem/10951749>
> The problem is we have one client for all the controller, and the controller > assume its client manage setEnableHighAccuracy per controller: Do you mean that you're sharing a single implementation of GeolocationClient between all GeolocationController instances? That would be a port-specific bug. Is this on Mac?
Having re-read this bug, I think you're referring to the problem in Bug 41341 ?
Yep. I close this bug as duplicate. *** This bug has been marked as a duplicate of bug 41341 ***