Use GetAwaiter()
MODIFY
WalletWasabi.Gui/Program.cs
WalletWasabi.Gui/Program.cs
@@ -31,7 +31,7 @@ namespace WalletWasabi.Gui
AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;
TaskScheduler.UnobservedTaskException += TaskScheduler_UnobservedTaskException;
- runGui = CommandInterpreter.ExecuteCommandsAsync(Global, args).Result;
+ runGui = CommandInterpreter.ExecuteCommandsAsync(Global, args).GetAwaiter().GetResult();
if (!runGui)
{

Use GetAwaiter()

Co-Authored-By: Lucas Ontivero <lontivero@users.noreply.github.com>