Scott Logic

Forcing Event Consumer Cleanup without Weak Events

February 19th, 2010
This blog post describes a simple technique for ensuring that consumers of events unsubscribe their event handlers without the need for weak events. I think the concept of managed memory, where the cleanup of unused objects from the heap is performed by a garbage collector, is a fantastic idea. It means that developers working with Java [...]