Do not cancel disposed TokenSource
MODIFY
WalletWasabi.Gui/Global.cs
WalletWasabi.Gui/Global.cs
@@ -462,7 +462,12 @@ namespace WalletWasabi.Gui
{
WalletService.Coins.CollectionChanged -= Coins_CollectionChanged;
}
+ try{
CancelWalletServiceInitialization?.Cancel();
+ }
+ catch(ObjectDisposedException)
+ {
+ }
CancelWalletServiceInitialization = null;
if (WalletService != null)

Do not cancel disposed TokenSource