mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-02 16:23:48 +03:00
fix: cancel download that is not active
This commit is contained in:
parent
e53f4808d5
commit
9f84538b76
@ -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…
Reference in New Issue
Block a user