Error!
Success!

Always explicitly detach explicitly attached event handlers

0
kicks

Always explicitly detach explicitly attached event handlers  (Unpublished)

We extensively use events in our .net programs. Most of the times, it doesn’t give you debugging worries. However in some cases, it can become an issue where your object containing event handler doesn’t get garbage collected due to event raising object holding a reference to the listener object.


Kicked By:
Drop Kicked By: