Saturday, July 18, 2009

What is a lapsed listener problem in .NET?


It is the one of the causes for the leaks in .net. It occurs when a subscriber signs up for a publisher's event, but fails to unsubscribe. The problem is it doesnt get Garbage collected as it still holds reference.

Best solution is to give a UnSubscribe() method.


www.codecollege.NET

No comments:

Post a Comment