mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-24 02:03:06 -05:00
ProtocolServer: Report success after stopping a download
This commit is contained in:
parent
588e18721d
commit
68abc103f7
Notes:
sideshowbarker
2024-07-19 06:56:46 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/68abc103f7a
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
Reference in a new issue