mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 18:08:58 +00:00
Bug 716127 - Avoid shutting down geolocation providers if one-shot updates are pending. r=dougt
This commit is contained in:
parent
a4c3474214
commit
d948356ebc
@ -881,7 +881,7 @@ nsGeolocation::HasActiveCallbacks()
|
||||
if (mWatchingCallbacks[i]->IsActive())
|
||||
return true;
|
||||
|
||||
return false;
|
||||
return mPendingCallbacks.Length() != 0;
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user