09 Aug 2008

You are currently browsing the daily archive for 09 Aug 2008.

So far we’ve seen a multicast event implementation in (fairly limited) action, and dissected the core of it’s implementation, which was a fairly dry affair.

I also demonstrated a flaw in the initial implementation – a susceptibility to objects adding handlers to events but not removing them when being destroyed.  Before the .NET crowd get all smug, we should note that the relationship between an event source and it’s listeners is potentially problematic, in .NET also.

Fortunately I devised a solution to the problem in my framework.  The solution – rather neatly – was itself provided by a multicast event. Read the rest of this entry »

At the end of my last post I described a problem that arises if an object adds handlers to an event and is then destroyed without having removed those handlers.  This video demonstrates that problem and also shows a solution provided by the multicast events framework itself.
Read the rest of this entry »