Sleep the main thread while initialization executes (this may freeze splash screen, needs further testing)
This commit is contained in:
parent
e7f72dab74
commit
5bf922da0b
@ -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()
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user