mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 726777, followup. r=sicking
This commit is contained in:
parent
58b3d6c3ae
commit
9b70c6ef22
@ -1280,8 +1280,10 @@ nsXMLHttpRequest::CloseRequestWithError(const nsAString& aType,
|
||||
mState |= aFlag;
|
||||
|
||||
// If we're in the destructor, don't risk dispatching an event.
|
||||
if (mState & XML_HTTP_REQUEST_DELETED)
|
||||
if (mState & XML_HTTP_REQUEST_DELETED) {
|
||||
mState &= ~XML_HTTP_REQUEST_SYNCLOOPING;
|
||||
return;
|
||||
}
|
||||
|
||||
if (!(mState & (XML_HTTP_REQUEST_UNSENT |
|
||||
XML_HTTP_REQUEST_OPENED |
|
||||
|
Loading…
Reference in New Issue
Block a user