summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <matthias.beyer@atos.net>2021-12-02 14:07:40 +0100
committerMatthias Beyer <matthias.beyer@atos.net>2021-12-02 14:23:51 +0100
commit781fae3dba04b3e0e97db0a7f28f5d132d356754 (patch)
tree1e00109ae801d132cf97a3a906a06126557b08f1
parentd70fc03ca8e6763bddb0af9e854a6d1734a9f7b5 (diff)
Fix: Do not finish download twice
The calling function does this already. Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
-rw-r--r--src/commands/source/download.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/commands/source/download.rs b/src/commands/source/download.rs
index b5223cf..67a0cad 100644
--- a/src/commands/source/download.rs
+++ b/src/commands/source/download.rs
@@ -147,7 +147,6 @@ async fn perform_download(source: &SourceEntry, progress: Arc<Mutex<ProgressWrap
.await
}
- progress.lock().await.finish_one_download().await;
file.flush()
.await
.map_err(Error::from)