diff --git a/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/SplashScreenWindow.cs b/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/SplashScreenWindow.cs index 82daf436..ac585ab6 100644 --- a/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/SplashScreenWindow.cs +++ b/CSharp/Engines/WindowsForms/Engines/UniversalEditor.UserInterface.WindowsForms.DesktopApplication/SplashScreenWindow.cs @@ -75,6 +75,10 @@ namespace UniversalEditor.UserInterface.WindowsForms internal void InvokeClose() { + while (!this.IsHandleCreated) + { + System.Threading.Thread.Sleep(500); + } Invoke(new Action(_InvokeClose)); } private void _InvokeClose()