Archive for category Memory Leaks
Leak proof event bus using MEF
Posted by rocchetti in Composition, EventBus, MEF, Memory Leaks, Modular, Silverlight on June 4, 2010
I’ve been trying to implement my own “Event Bus” (Pub/Sub pattern) using MEF since it seems natural to export an event, or a delegate. The problem is that a reference on one object to a delegate on another object could cause memory leaks. (See Weak Events in C# by Daniel Grunwald http://bit.ly/chKG7W). Following Daniel Grunwald’s […]
Recent Comments