mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 22:55:23 +00:00
9f632b6e53
The timeout timer of a geolocation request holds a strong reference to the request. This can cause the window to leak if the request is not completed before the tab containing the window is closed. To fix this, I made the timer instead hold a strong reference to a wrapper class that has only a weak reference to the request. The request destructor must now cancel the timeout timer. I also outlined a call to StopTimeoutTimer() in nsGeolocationRequest::Shutdown(). |
||
---|---|---|
.. | ||
MLSFallback.cpp | ||
MLSFallback.h | ||
moz.build | ||
nsGeoGridFuzzer.cpp | ||
nsGeoGridFuzzer.h | ||
nsGeolocation.cpp | ||
nsGeolocation.h | ||
nsGeolocationSettings.cpp | ||
nsGeolocationSettings.h | ||
nsGeoPosition.cpp | ||
nsGeoPosition.h | ||
nsGeoPositionIPCSerialiser.h |