C2025-038
Code cleanup to prevent multiple events from being assigned to the same method.
This was done in places where we dynamically assign event handlers.
C2025-038
Code cleanup to prevent multiple events from being assigned to the same method.
This was done in places where we dynamically assign event handlers.
--just adding this for reference, would apply throughout. Can be addressed later if anything comes up - just wanted to add this here for reference in case it comes up down the line.
If memory concerns occur, when remove eventhandler, can change:
_dropDownHelper.DropDownClosed -= new DropDownClosedEventHandler(DropDownHelper_DropDownClosed);
to
_dropDownHelper.DropDownClosed -= DropDownHelper_DropDownClosed;
--just adding this for reference, would apply throughout. Can be addressed later if anything comes up - just wanted to add this here for reference in case it comes up down the line.
mschill marked this conversation as resolved
mschill
merged commit 07c7718320 into Development2025-07-10 11:23:26 -04:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
C2025-038
Code cleanup to prevent multiple events from being assigned to the same method.
This was done in places where we dynamically assign event handlers.
Looks good. Ready for QA testing.
@@ -28,7 +28,9 @@ namespace AT.STO.UI.Win_dropDownHelper = new DropDownWindowHelper();_dropDownHelper.DropDownClosed -= new DropDownClosedEventHandler(DropDownHelper_DropDownClosed);If memory concerns occur, when remove eventhandler, can change:
_dropDownHelper.DropDownClosed -= new DropDownClosedEventHandler(DropDownHelper_DropDownClosed);
to
_dropDownHelper.DropDownClosed -= DropDownHelper_DropDownClosed;
--just adding this for reference, would apply throughout. Can be addressed later if anything comes up - just wanted to add this here for reference in case it comes up down the line.