mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 04:38:11 +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;
|
bool success = false;
|
||||||
if (download) {
|
if (download) {
|
||||||
download->stop();
|
download->stop();
|
||||||
|
success = true;
|
||||||
}
|
}
|
||||||
return make<Messages::ProtocolServer::StopDownloadResponse>(success);
|
return make<Messages::ProtocolServer::StopDownloadResponse>(success);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue