Skip to content

Commit

Permalink
enh: Use electron API to download models (#209)
Browse files Browse the repository at this point in the history
Co-authored-by: Oto Ciulis <[email protected]>
  • Loading branch information
oto-ciulis-tt and otociulis authored Nov 8, 2024
1 parent bcf2877 commit 6cce554
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/models/DownloadManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ export class DownloadManager {
if (download && download.item) {
log.info('Cancelling download');
download.item.cancel();

this.downloads.delete(url);
}
}

Expand Down

0 comments on commit 6cce554

Please sign in to comment.