Skip to content

Commit 94990fb

Browse files
committed
Add comments to clarify about used design pattern
1 parent 33add6f commit 94990fb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ILSpy/AssemblyTree/AssemblyTreeModel.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -767,6 +767,7 @@ private void TreeView_SelectionChanged()
767767
}
768768
else
769769
{
770+
// ensure that we are only connected once to the event, else we might get multiple notifications
770771
ContextMenuProvider.ContextMenuClosed -= ContextMenuClosed;
771772
ContextMenuProvider.ContextMenuClosed += ContextMenuClosed;
772773
}

0 commit comments

Comments
 (0)