mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
fix: start another download after finishing one
This commit is contained in:
parent
4b7a0ff402
commit
f3f78248ef
1 changed files with 5 additions and 3 deletions
|
@ -122,9 +122,11 @@ export class RealDebridDownloader {
|
|||
}
|
||||
|
||||
static async pauseDownload() {
|
||||
const gid = this.downloads.get(this.downloadingGame!.id!);
|
||||
if (gid) {
|
||||
await HTTPDownload.pauseDownload(gid);
|
||||
if (this.downloadingGame) {
|
||||
const gid = this.downloads.get(this.downloadingGame.id);
|
||||
if (gid) {
|
||||
await HTTPDownload.pauseDownload(gid);
|
||||
}
|
||||
}
|
||||
|
||||
this.realDebridTorrentId = null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue