diff --git a/LittleWarGameClient/Program.cs b/LittleWarGameClient/Program.cs index c9c9d2c..9d40435 100644 --- a/LittleWarGameClient/Program.cs +++ b/LittleWarGameClient/Program.cs @@ -36,12 +36,13 @@ internal static class Program [STAThread] static void Main() { - Thread _thread = new Thread(() => + Thread splashthread = new Thread(() => { SplashScreen.Instance.ShowDialog(); }); - _thread.SetApartmentState(ApartmentState.STA); - _thread.Start(); + splashthread.IsBackground = true; + splashthread.SetApartmentState(ApartmentState.STA); + splashthread.Start(); bool createdNew = true; using (Mutex mutex = new Mutex(true, "Global\\LittleWarGameClient", out createdNew)) {