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:
parent
588e18721d
commit
68abc103f7
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue