Skip to content

Commit

Permalink
Tidy cancel
Browse files Browse the repository at this point in the history
  • Loading branch information
Webreaper committed Jan 1, 2025
1 parent 8b2aae7 commit b192f4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Damselfly.Core.Utils/Utils/AsyncEventConflator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public async Task ConflateAsync(Func<CancellationToken, Task> actionAsync)
{
if (_cancellationTokenSource != null)
{
_cancellationTokenSource?.Cancel();
await _cancellationTokenSource.CancelAsync();
_cancellationTokenSource?.Dispose();
}

Expand Down

0 comments on commit b192f4b

Please sign in to comment.