enhance: call gc after viewing commit changed

This commit is contained in:
leo
2024-12-03 10:44:27 +08:00
parent ea0bec16da
commit ca29a232e4

View File

@@ -623,6 +623,8 @@ namespace SourceGit.ViewModels
RevisionFileSearchFilter = string.Empty;
IsRevisionFileSearchSuggestionOpen = false;
GC.Collect();
if (_commit == null)
return;