Event Handler Memory Leaks, Unwiring Events, and the WeakEventManager

added by dpeterson
2/1/2012 2:47:02 PM

2 Kicks, 287 Views

Many developers don't realize that a common source of memory leaks in .NET applications is the event handler. WPF 4.5 includes built-in support for weak events to help us do the right thing and not eat up all the available memory.