Sleep the main thread while initialization executes (this may freeze splash screen, needs further testing)

This commit is contained in:
Michael Becker 2014-06-28 21:19:36 -04:00
parent e7f72dab74
commit 5bf922da0b

View File

@ -645,6 +645,11 @@ namespace UniversalEditor.UserInterface
threadLoader.Start();
ShowSplashScreen();
while (threadLoader.ThreadState == System.Threading.ThreadState.Running)
{
System.Threading.Thread.Sleep (500);
}
}
protected virtual void InitializeInternal()
{