more fixes

This commit is contained in:
rootdarkarchon
2024-02-15 12:07:56 +01:00
committed by Loporrit
parent f9ca55db43
commit c1d8599b9c
6 changed files with 38 additions and 14 deletions

View File

@@ -51,7 +51,7 @@ public static class VariousExtensions
public static CancellationTokenSource CancelRecreate(this CancellationTokenSource? cts)
{
cts.CancelDispose();
cts?.CancelDispose();
return new CancellationTokenSource();
}