enhance: call GC.Collect() manually after command palette closed

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo
2025-10-28 16:38:48 +08:00
parent 258480dd41
commit 79bc093990

View File

@@ -389,6 +389,7 @@ namespace SourceGit.ViewModels
{
_commandPalette?.Dispose();
CommandPalette = null;
GC.Collect();
}
public void DispatchNotification(string pageId, string message, bool isError)