Exit when global fails to initialize.
MODIFY
WalletWasabi.Gui/Global.cs
WalletWasabi.Gui/Global.cs
@@ -355,6 +355,13 @@ namespace WalletWasabi.Gui
TransactionBroadcaster = new TransactionBroadcaster(Network, BitcoinStore, Synchronizer, Nodes, BitcoinCoreNode?.RpcClient);
CoinJoinProcessor = new CoinJoinProcessor(Synchronizer, BitcoinCoreNode?.RpcClient);
}
+ catch (Exception ex)
+ {
+ Logger.LogCritical(ex);
+ InitializationCompleted = true;
+ await DisposeAsync().ConfigureAwait(false);
+ Environment.Exit(1);
+ }
finally
{
InitializationCompleted = true;

Exit when global fails to initialize.