Showing the changes to libraries/script-engine/src/XMLHttpRequestClass.cpp (1 of 12 files). Show all
Unified · Split
| @@ -332,7 +332,7 @@ void XMLHttpRequestClass::abortRequest() { · 331 unmodified lines | ||
| 332 | 332 | if (_reply) { |
| 333 | 333 | disconnectFromReply(_reply); |
| 334 | 334 | _reply->abort(); |
| 335 | − delete _reply; | |
| 335 | + _reply->deleteLater(); | |
| 336 | 336 | _reply = NULL; |
| 337 | 337 | } |
| 338 | 338 | |