mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
fix: cancel download that is not active
This commit is contained in:
parent
e53f4808d5
commit
9f84538b76
1 changed files with 3 additions and 1 deletions
|
@ -222,7 +222,9 @@ export class DownloadManager {
|
|||
|
||||
WindowManager.mainWindow?.setProgressBar(-1);
|
||||
|
||||
this.downloadingGameId = null;
|
||||
if (gameId === this.downloadingGameId) {
|
||||
this.downloadingGameId = null;
|
||||
}
|
||||
}
|
||||
|
||||
static async resumeSeeding(game: Game) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue