Bug 1569772 - Release load group on main thread in win/nsIconChannel r=tnikkel

Differential Revision: https://phabricator.services.mozilla.com/D39795

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Junior Hsu 2019-07-29 22:42:39 +00:00
parent 7629463ab1
commit 523fb9c06b

View File

@ -170,6 +170,10 @@ nsIconChannel::~nsIconChannel() {
NS_ReleaseOnMainThreadSystemGroup("nsIconChannel::mLoadInfo",
mLoadInfo.forget());
}
if (mLoadGroup) {
NS_ReleaseOnMainThreadSystemGroup("nsIconChannel::mLoadGroup",
mLoadGroup.forget());
}
}
NS_IMPL_ISUPPORTS(nsIconChannel, nsIChannel, nsIRequest, nsIRequestObserver,