Improve cancel
MODIFY
WalletWasabi/Bases/PeriodicRunner.cs
WalletWasabi/Bases/PeriodicRunner.cs
@@ -48,13 +48,7 @@ namespace WalletWasabi.Bases
{
lock (TriggerLock)
{
- if (Trigger != null)
- {
- if (!Trigger.IsCancellationRequested)
- {
- Trigger.Cancel();
- }
- }
+ Trigger?.Cancel();
}
}

Improve cancel