splash: cleanup ApplicationMain

This commit is contained in:
Nick Vella 2019-08-16 23:54:35 +10:00
parent 99458d7dbe
commit 462c13a0d6
1 changed files with 0 additions and 17 deletions

View File

@ -323,23 +323,6 @@ namespace OpenLiveWriter
ApplicationLauncher.LaunchBloggingForm(args, splashScreen, true);
}
//if (splashScreen != null)
//{
// try
// {
// using (Form splashScreenForm = ((FormSplashScreen)splashScreen).Form)
// {
// if (splashScreenForm != null && !splashScreenForm.IsDisposed)
// {
// Application.Run(splashScreenForm);
// }
// }
// }
// catch (Exception e)
// {
// Debug.Fail("Failed to show splash screen: " + e);
// }
//}
ManualKeepalive.Wait(true);
}
catch (DirectoryException ex)