feat: supporting queue using aria2

This commit is contained in:
Chubby Granny Chaser 2024-07-02 17:06:30 +01:00
parent 16a8c28935
commit a43768ce67
No known key found for this signature in database
4 changed files with 64 additions and 49 deletions

View file

@ -63,7 +63,7 @@ export class DownloadManager {
static async pauseDownload() {
if (this.currentDownloader === Downloader.RealDebrid) {
RealDebridDownloader.pauseDownload();
await RealDebridDownloader.pauseDownload();
} else {
await TorrentDownloader.pauseDownload();
}