Bug 1182515 - Clear reference to captive portal service when observing xpcom-shutdown. r=mcmanus

This commit is contained in:
Valentin Gosu 2015-07-13 15:50:58 +02:00
parent dabdd53e8b
commit baa122afba

View File

@ -1400,6 +1400,7 @@ nsIOService::Observe(nsISupports *subject,
if (mCaptivePortalService) {
static_cast<CaptivePortalService*>(mCaptivePortalService.get())->Stop();
mCaptivePortalService = nullptr;
}
// Break circular reference.