From 79bc093990969ff8f6cd41a31f2f8467f8a5cd63 Mon Sep 17 00:00:00 2001 From: leo Date: Tue, 28 Oct 2025 16:38:48 +0800 Subject: [PATCH] enhance: call `GC.Collect()` manually after command palette closed Signed-off-by: leo --- src/ViewModels/Launcher.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ViewModels/Launcher.cs b/src/ViewModels/Launcher.cs index 37e695a0..7d011957 100644 --- a/src/ViewModels/Launcher.cs +++ b/src/ViewModels/Launcher.cs @@ -389,6 +389,7 @@ namespace SourceGit.ViewModels { _commandPalette?.Dispose(); CommandPalette = null; + GC.Collect(); } public void DispatchNotification(string pageId, string message, bool isError)