[skip ci] fix NullReferenceException
MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/CoinJoinTabViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/CoinJoinTabViewModel.cs
@@ -226,6 +226,11 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
private void UpdateRequiredBtcLabel(CcjClientRound registrableRound)
#pragma warning restore CS0618 // Type or member is obsolete
{
+ if (Global.WalletService is null)
+ {
+ return; // Otherwise NullReferenceException at shutdown.
+ }
+
if (registrableRound == default)
{
if (RequiredBTC == default)

[skip ci] fix NullReferenceException