diff --git a/mRemoteV1/App/ProgramRoot.cs b/mRemoteV1/App/ProgramRoot.cs index ecdbbea1a..6c73a1c8a 100644 --- a/mRemoteV1/App/ProgramRoot.cs +++ b/mRemoteV1/App/ProgramRoot.cs @@ -88,8 +88,11 @@ namespace mRemoteNG.App if (!FrmSplashScreen.getInstance().IsDisposed) FrmSplashScreen.getInstance().Close(); + if (FrmMain.Default.IsDisposed) return; + var window = new UnhandledExceptionWindow(e.Exception, false); window.ShowDialog(FrmMain.Default); + } private static void CurrentDomainOnUnhandledException(object sender, UnhandledExceptionEventArgs e)