mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 05:23:09 +02:00
Merge pull request #16056 from Atlante45/fix/requesjs
BUGZ-1239: Delete reply after the callback is executed
This commit is contained in:
commit
03e3f38ff1
1 changed files with 3 additions and 3 deletions
|
@ -218,12 +218,12 @@ void XMLHttpRequestClass::requestFinished() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
setReadyState(DONE);
|
||||||
|
emit requestComplete();
|
||||||
|
|
||||||
disconnectFromReply(_reply);
|
disconnectFromReply(_reply);
|
||||||
_reply->deleteLater();
|
_reply->deleteLater();
|
||||||
_reply = nullptr;
|
_reply = nullptr;
|
||||||
|
|
||||||
setReadyState(DONE);
|
|
||||||
emit requestComplete();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void XMLHttpRequestClass::abortRequest() {
|
void XMLHttpRequestClass::abortRequest() {
|
||||||
|
|
Loading…
Reference in a new issue