mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-24 02:40:24 +08:00
enhance: call GC.Collect() manually after command palette closed
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
@@ -389,6 +389,7 @@ namespace SourceGit.ViewModels
|
||||
{
|
||||
_commandPalette?.Dispose();
|
||||
CommandPalette = null;
|
||||
GC.Collect();
|
||||
}
|
||||
|
||||
public void DispatchNotification(string pageId, string message, bool isError)
|
||||
|
||||
Reference in New Issue
Block a user