ProtocolServer: Report success after stopping a download

This commit is contained in:
Andreas Kling 2020-05-05 23:56:20 +02:00
parent 588e18721d
commit 68abc103f7
Notes: sideshowbarker 2024-07-19 06:56:46 +09:00

View file

@ -72,6 +72,7 @@ OwnPtr<Messages::ProtocolServer::StopDownloadResponse> PSClientConnection::handl
bool success = false;
if (download) {
download->stop();
success = true;
}
return make<Messages::ProtocolServer::StopDownloadResponse>(success);
}