mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-15 04:07:36 +00:00
ProtocolServer: Report success after stopping a download
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user