Skip to content

Commit

Permalink
Properly abort the connections on timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
tumic0 committed Aug 16, 2022
1 parent 4653f77 commit 1efb4e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/downloader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ void NetworkTimeout::timerEvent(QTimerEvent *ev)
return;
QNetworkReply *reply = static_cast<QNetworkReply*>(parent());
if (reply->isRunning())
reply->close();
reply->abort();
_timer.stop();
}

Expand Down

0 comments on commit 1efb4e4

Please sign in to comment.