Skip to content

Commit 79bc093

Browse files
committed
enhance: call GC.Collect() manually after command palette closed
Signed-off-by: leo <longshuang@msn.cn>
1 parent 258480d commit 79bc093

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ViewModels/Launcher.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,7 @@ public void CancelCommandPalette()
389389
{
390390
_commandPalette?.Dispose();
391391
CommandPalette = null;
392+
GC.Collect();
392393
}
393394

394395
public void DispatchNotification(string pageId, string message, bool isError)

0 commit comments

Comments
 (0)