What best practices for cleaning up event handler references?
It is incorrect to say that unregistering the handlers from the Session events will somehow allow a Session object to be collected by the GC. Here is a diagram that illustrates the reference chain of events. ————– ———— —————- | | | | | | |Event Source| ==> | Delegate | ==> | Event Target … Read more