1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-25 18:25:09 +00:00

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

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);
}