aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Transfers/Downloads/DownloadService.cs
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-11-12 18:27:57 -0600
committerJP Dillingham <jp@dillingham.me>2026-11-12 18:27:57 -0600
commit41b84b1b29fe2c2ee403cc2da99349708e79c21b (patch)
tree5a2ff750926d168e27da6251749f69bffb582395 /src/slskd/Transfers/Downloads/DownloadService.cs
parenta65269cc9163b1c83be426fbcf98fd529f44b789 (diff)
downloadslskd-41b84b1b29fe2c2ee403cc2da99349708e79c21b.tar.gz
missed one
Diffstat (limited to 'src/slskd/Transfers/Downloads/DownloadService.cs')
-rw-r--r--src/slskd/Transfers/Downloads/DownloadService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Transfers/Downloads/DownloadService.cs b/src/slskd/Transfers/Downloads/DownloadService.cs
index 21e33523..e7102dc1 100644
--- a/src/slskd/Transfers/Downloads/DownloadService.cs
+++ b/src/slskd/Transfers/Downloads/DownloadService.cs
@@ -1008,7 +1008,7 @@ namespace slskd.Transfers.Downloads
// of the transfer to Cancelled. _should_!
if (CancellationTokens.TryRemove(id, out var cts))
{
- cts.Cancel();
+ cts.Cancel(swallowObjectDisposedException: true);
return true;
}