diff --git a/src/models/DownloadManager.ts b/src/models/DownloadManager.ts index e3b3af7b..c2826f50 100644 --- a/src/models/DownloadManager.ts +++ b/src/models/DownloadManager.ts @@ -132,6 +132,8 @@ export class DownloadManager { if (download && download.item) { log.info('Cancelling download'); download.item.cancel(); + + this.downloads.delete(url); } }