mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1169867 - nsXMLHttpRequest should use and free mProxy correctly, r=ehsan
This commit is contained in:
parent
bc200b39a2
commit
014fbd660d
@ -1944,8 +1944,8 @@ XMLHttpRequest::Open(const nsACString& aMethod, const nsAString& aUrl,
|
||||
|
||||
mProxy->mOpening = true;
|
||||
if (!runnable->Dispatch(mWorkerPrivate->GetJSContext())) {
|
||||
ReleaseProxy();
|
||||
mProxy->mOpening = false;
|
||||
ReleaseProxy();
|
||||
aRv.Throw(NS_ERROR_FAILURE);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user