mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 19:59:28 +02:00
Delete reply after the callback is executed
This commit is contained in:
parent
6f76098a2c
commit
90aeb636bd
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