mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2025-12-23 22:18:39 -05:00
added torrent pausing back
This commit is contained in:
@@ -206,7 +206,12 @@ public sealed class MalwareBlocker : GenericHandler
|
||||
{
|
||||
removeFromClient = false;
|
||||
}
|
||||
|
||||
|
||||
if (downloadService is DelugeService delugeService)
|
||||
{
|
||||
await delugeService.PauseAsync(record.DownloadId);
|
||||
}
|
||||
|
||||
await PublishQueueItemRemoveRequest(
|
||||
downloadRemovalKey,
|
||||
instanceType,
|
||||
|
||||
@@ -186,6 +186,11 @@ public sealed class QueueCleaner : GenericHandler
|
||||
}
|
||||
}
|
||||
|
||||
if (downloadService is DelugeService delugeService)
|
||||
{
|
||||
await delugeService.PauseAsync(record.DownloadId);
|
||||
}
|
||||
|
||||
await PublishQueueItemRemoveRequest(
|
||||
downloadRemovalKey,
|
||||
instanceType,
|
||||
|
||||
Reference in New Issue
Block a user