mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
339c59af64
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 |