mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1253199 - MessagePort should handle the dispatching a message when the parent window is gone, r=smaug, a=ritu
This commit is contained in:
parent
af39e012ff
commit
bc39f7a28e
@ -94,7 +94,6 @@ private:
|
||||
DispatchMessage() const
|
||||
{
|
||||
nsCOMPtr<nsIGlobalObject> globalObject = mPort->GetParentObject();
|
||||
MOZ_ASSERT(globalObject);
|
||||
|
||||
AutoJSAPI jsapi;
|
||||
if (!globalObject || !jsapi.Init(globalObject)) {
|
||||
|
Loading…
Reference in New Issue
Block a user