remove table event handlers in treetablesource

This commit is contained in:
Shlomi Assaf
2023-08-08 19:05:16 +03:00
committed by Tig
parent 52ea9507dd
commit 01c6350b67

View File

@@ -68,6 +68,8 @@ public class TreeTableSource<T> : IEnumerableTableSource<T>, IDisposable where T
/// <inheritdoc/>
public void Dispose ()
{
_tableView.KeyPress -= Table_KeyPress;
_tableView.MouseClick -= Table_MouseClick;
_tree.Dispose ();
}