if a Wallet stops then remove it from the WalletExplorer (disposing subscriptions.)
MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/WalletExplorerViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/WalletExplorerViewModel.cs
@@ -44,7 +44,11 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
if (wallet is { } && _walletDictionary.ContainsKey(wallet))
{
- if (_walletDictionary[wallet] is ClosedWalletViewModel cwvm && x.EventArgs == WalletState.Started)
+ if (x.EventArgs == WalletState.Stopping)
+ {
+ RemoveWallet(_walletDictionary[wallet]);
+ }
+ else if (_walletDictionary[wallet] is ClosedWalletViewModel cwvm && x.EventArgs == WalletState.Started)
{
OpenClosedWallet(cwvm);
}

if a Wallet stops then remove it from the WalletExplorer (disposing subscriptions.)