Archive for category EventBus

Leak proof event bus using MEF

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 […]

Leave a Comment

Follow

Get every new post delivered to your Inbox.