From 665aed45f701fdf11fc212bc1d186d0e2d0959b4 Mon Sep 17 00:00:00 2001 From: Kang Yu Date: Wed, 18 Sep 2024 17:06:25 -0700 Subject: [PATCH] hide icon before exit --- .../SystrayShell/SystrayForm.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Ninjacrab.PersistentWindows.Solution/SystrayShell/SystrayForm.cs b/Ninjacrab.PersistentWindows.Solution/SystrayShell/SystrayForm.cs index 8d89e22..11b752e 100644 --- a/Ninjacrab.PersistentWindows.Solution/SystrayShell/SystrayForm.cs +++ b/Ninjacrab.PersistentWindows.Solution/SystrayShell/SystrayForm.cs @@ -290,10 +290,9 @@ namespace PersistentWindows.SystrayShell Program.WriteDataDump(); -#if DEBUG this.notifyIconMain.Visible = false; -#endif //this.notifyIconMain.Icon = null; + Log.Exit(); Application.Exit(); }