mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1044205 - Detach the XPCWrappedNativeScope from the CompartmentPrivate during forcible shutdown. r=billm
This commit is contained in:
parent
d33fbbe4a2
commit
85a6735f8c
@ -610,6 +610,8 @@ XPCWrappedNativeScope::KillDyingScopes()
|
||||
XPCWrappedNativeScope* cur = gDyingScopes;
|
||||
while (cur) {
|
||||
XPCWrappedNativeScope* next = cur->mNext;
|
||||
if (cur->mGlobalJSObject)
|
||||
CompartmentPrivate::Get(cur->mGlobalJSObject)->scope = nullptr;
|
||||
delete cur;
|
||||
cur = next;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user