mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1182515 - Clear reference to captive portal service when observing xpcom-shutdown. r=mcmanus
This commit is contained in:
parent
dabdd53e8b
commit
baa122afba
@ -1400,6 +1400,7 @@ nsIOService::Observe(nsISupports *subject,
|
|||||||
|
|
||||||
if (mCaptivePortalService) {
|
if (mCaptivePortalService) {
|
||||||
static_cast<CaptivePortalService*>(mCaptivePortalService.get())->Stop();
|
static_cast<CaptivePortalService*>(mCaptivePortalService.get())->Stop();
|
||||||
|
mCaptivePortalService = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Break circular reference.
|
// Break circular reference.
|
||||||
|
Loading…
Reference in New Issue
Block a user