mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1210077 - Null check gNeckoChild in HttpChannelChild::ResetInterception(); r=mcmanus
This commit is contained in:
parent
30c9e69137
commit
a8f27d9556
@ -2242,6 +2242,8 @@ HttpChannelChild::DivertToParent(ChannelDiverterChild **aChild)
|
||||
void
|
||||
HttpChannelChild::ResetInterception()
|
||||
{
|
||||
NS_ENSURE_TRUE_VOID(gNeckoChild != nullptr);
|
||||
|
||||
if (mInterceptListener) {
|
||||
mInterceptListener->Cleanup();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user