diff --git a/src/Files.App/App.xaml.cs b/src/Files.App/App.xaml.cs index 23318b222c5d..4e94ff20c1d5 100644 --- a/src/Files.App/App.xaml.cs +++ b/src/Files.App/App.xaml.cs @@ -474,12 +474,12 @@ private static void AppUnhandledException(Exception ex, bool shouldShowNotificat { userSettingsService.AppSettingsService.RestoreTabsOnStartup = true; userSettingsService.GeneralSettingsService.LastCrashedTabList = lastSessionTabList; - } - Window.DispatcherQueue.EnqueueAsync(async () => - { - await Launcher.LaunchUriAsync(new Uri("files-uwp:")); - }).Wait(1000); + Window.DispatcherQueue.EnqueueAsync(async () => + { + await Launcher.LaunchUriAsync(new Uri("files-uwp:")); + }).Wait(1000); + } Process.GetCurrentProcess().Kill(); }