mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-09-29 16:24:09 +10:00
Keep the download queue moving after a failed download (#491)
When a download fails, manage_error_signal removes it from the queue but doesn't send Go, so the next queued download never starts on its own. Completed and Cancel both send Go; do the same here.
This commit is contained in:
@@ -357,6 +357,7 @@ impl DownloadManagerBuilder {
|
||||
}
|
||||
self.push_ui_queue_update();
|
||||
self.set_status(DownloadManagerStatus::Error);
|
||||
send!(self.sender, DownloadManagerSignal::Go);
|
||||
}
|
||||
async fn manage_cancel_signal(&mut self, meta: &DownloadableMetadata) {
|
||||
// If the current download is the one we're tryna cancel
|
||||
|
||||
Reference in New Issue
Block a user