Improve the dequeuing of con on exit
MODIFY
WalletWasabi.Gui/Dialogs/CannotCloseDialogView.xaml
WalletWasabi.Gui/Dialogs/CannotCloseDialogView.xaml
Design.Width="800" Design.Height="400">
<controls:GroupBox Title="Closing Wasabi..." Background="{DynamicResource ThemeControlBackgroundBrush}" TextBlock.FontSize="30" BorderThickness="0" Margin="0 80 0 0">
<DockPanel LastChildFill="True">
- <StackPanel DockPanel.Dock="Bottom" HorizontalAlignment="Right" TextBlock.FontSize="16" Orientation="Horizontal" Margin="10" Spacing="10">
+ <StackPanel DockPanel.Dock="Bottom" HorizontalAlignment="Left" TextBlock.FontSize="16" Orientation="Horizontal" Margin="10" Spacing="10">
<Button Width="100" Content="Ok" Command="{Binding OKCommand}" IsVisible="{Binding !IsBusy}" />
<Button Width="100" Content="Cancel" Command="{Binding CancelCommand}" IsVisible="{Binding IsBusy}" />
</StackPanel>

MODIFY
WalletWasabi/Wallets/WalletManager.cs
WalletWasabi/Wallets/WalletManager.cs
@@ -116,6 +116,10 @@ namespace WalletWasabi.Wallets
public async Task DequeueAllCoinsGracefullyAsync(DequeueReason reason, CancellationToken token)
{
+ if (Synchronizer.BackendStatus == BackendStatus.NotConnected)
+ {
+ return;
+ }
IEnumerable<Task> tasks = null;
lock (Lock)
{

Improve the dequeuing of con on exit