aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2025-07-12 17:40:29 -0500
committerJP Dillingham <jp@dillingham.me>2025-07-12 17:40:29 -0500
commitaedb3da5b707f0c611120918e01e017523aaa018 (patch)
treefe6d929a9cbbfb247cfaef4b00c0310269de9df3
parentb267938b5dee056e92670c54f4afcf6c008d705c (diff)
downloadslskd-aedb3da5b707f0c611120918e01e017523aaa018.tar.gz
eliminate ContinueWith
-rw-r--r--src/slskd/Search/SearchService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Search/SearchService.cs b/src/slskd/Search/SearchService.cs
index 98001396..9181dfb3 100644
--- a/src/slskd/Search/SearchService.cs
+++ b/src/slskd/Search/SearchService.cs
@@ -342,7 +342,7 @@ namespace slskd.Search
rateLimiter.Dispose();
CancellationTokens.TryRemove(id, out _);
}
- });
+ }, cancellationToken: cancellationTokenSource.Token);
// broadcast and return the _newly created_ search; it will continue to be updated in the background
await SearchHub.BroadcastUpdateAsync(search);