From acf52c2eddfaf2fe1d43d6f40151e363fe488903 Mon Sep 17 00:00:00 2001 From: IceStormNG Date: Sat, 13 Jan 2024 11:27:04 +0100 Subject: [PATCH] Application.Exit might not exit if there is a child process running. Environment.Exit(0) do though. --- app/AutoUpdate/AutoUpdateControl.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/AutoUpdate/AutoUpdateControl.cs b/app/AutoUpdate/AutoUpdateControl.cs index 023bcd3a..32757cfc 100644 --- a/app/AutoUpdate/AutoUpdateControl.cs +++ b/app/AutoUpdate/AutoUpdateControl.cs @@ -139,7 +139,7 @@ namespace GHelper.AutoUpdate Logger.WriteLine(ex.Message); } - Application.Exit(); + Environment.Exit(0); } }