mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 20:54:59 +00:00
feature<Launcher>: close tabs by context menu; collect garbage after repository closed
This commit is contained in:
parent
a9f138076e
commit
1a46551a77
14 changed files with 145 additions and 103 deletions
|
@ -112,6 +112,18 @@ namespace SourceGit.UI {
|
|||
Validation.ClearInvalid(txtCommitMsg.GetBindingExpression(TextBox.TextProperty));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Cleanup
|
||||
/// </summary>
|
||||
public void Cleanup() {
|
||||
Repo = null;
|
||||
unstagedList.ItemsSource = null;
|
||||
unstagedList.ItemsSource = null;
|
||||
stageList.ItemsSource = null;
|
||||
stageTree.ItemsSource = null;
|
||||
diffViewer.Reset();
|
||||
}
|
||||
|
||||
#region UNSTAGED
|
||||
private void UnstagedTreeMultiSelectionChanged(object sender, RoutedEventArgs e) {
|
||||
mergePanel.Visibility = Visibility.Collapsed;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue