splash: cleanup ApplicationMain
This commit is contained in:
parent
99458d7dbe
commit
462c13a0d6
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue