C#: Care about Event Memory Leaks with Delegate.GetInvocationList()(weblogs.sqlteam.com)
submitted by
spirit1(3160) 4 years, 7 months ago
Subscribed events are one of the most common reasons of memory leaks in .Net. This means that if you have an object that has an event and there are other object that are subscribed to that event, the original object won't be properly disposed until all events are unsubscribed since an event is a strong reference.
|category: C#
|Views: 421
tags:
MemoryLeak Delegate .net2.0 C# Patterns another
Everyones tags:
Your Tags: