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:
Lorn Potter 2020-06-19 11:17:31 +10:00
parent 3e1d03b1ea
commit 4455de24d4

View File

@ -282,7 +282,6 @@ void QNetworkReplyWasmImplPrivate::emitReplyError(QNetworkReply::NetworkError er
q->setError(errorCode, errorString);
emit q->errorOccurred(errorCode);
doAbort();
m_fetch = 0;
q->close();
}