[skip ci] sometimes when sending last 2 coins to the same address the
original coin stays in the list - fix
MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/CoinListViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/CoinListViewModel.cs
@@ -198,8 +198,8 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
_rootlist.Connect()
.OnItemAdded(cvm =>
cvm.PropertyChanged += Coin_PropertyChanged)
- .OnItemRemoved(cvm =>
- cvm.PropertyChanged -= Coin_PropertyChanged)
+ //.OnItemRemoved(cvm => //TODO: possible memory leak. If I uncomment this line, that Unspent propchange not triggered in some cases => spent money stays in list
+ // cvm.PropertyChanged -= Coin_PropertyChanged)
.Sort(MyComparer, comparerChanged: sortChanged, resetThreshold:5)
.Bind(out _coinViewModels)
.ObserveOn(RxApp.MainThreadScheduler)

[skip ci] sometimes when sending last 2 coins to the same address the
original coin stays in the list - fix