Skip to content

Commit

Permalink
wasm: fix crash when getting error like 404
Browse files Browse the repository at this point in the history
Pick-to: 5.15
Change-Id: Ia9b81aaa8b1e9ea6ab20b8c6ff6f197e95d46d7d
Reviewed-by: Morten Johan Sørvig <[email protected]>
  • Loading branch information
lpotter committed Jun 19, 2020
1 parent 3e1d03b commit 4455de2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/network/access/qnetworkreplywasmimpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,6 @@ void QNetworkReplyWasmImplPrivate::emitReplyError(QNetworkReply::NetworkError er

q->setError(errorCode, errorString);
emit q->errorOccurred(errorCode);
doAbort();
m_fetch = 0;
q->close();
}
Expand Down

0 comments on commit 4455de2

Please sign in to comment.