mirror of
https://github.com/lubosz/overte.git
synced 2025-04-14 09:06:16 +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);
|
||||
_reply->deleteLater();
|
||||
_reply = nullptr;
|
||||
|
||||
setReadyState(DONE);
|
||||
emit requestComplete();
|
||||
}
|
||||
|
||||
void XMLHttpRequestClass::abortRequest() {
|
||||
|
|
Loading…
Reference in a new issue