wasm: fix crash when getting error like 404
Pick-to: 5.15 Change-Id: Ia9b81aaa8b1e9ea6ab20b8c6ff6f197e95d46d7d Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
This commit is contained in:
parent
3e1d03b1ea
commit
4455de24d4
@ -282,7 +282,6 @@ void QNetworkReplyWasmImplPrivate::emitReplyError(QNetworkReply::NetworkError er
|
||||
|
||||
q->setError(errorCode, errorString);
|
||||
emit q->errorOccurred(errorCode);
|
||||
doAbort();
|
||||
m_fetch = 0;
|
||||
q->close();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user