View Single Post
Old 03-05-2008   #8 (permalink)
Ben Voigt [C++ MVP]


 
 

Re: Static Events Used By Static Classes


"Marc Gravell" <marc.gravell@xxxxxx> wrote in message
news:efqGWxffIHA.4196@xxxxxx
Quote:

> Where is that quotation from? If talking about individual objects, then it
> makes sense - since otherwise the static event subscription will prevent
> the object from being collected (causing memory to grow, or at least not
> be reclaimed). However, long-lived subscriptions will happily die when the
> process (exe, etc) dies; at which point all the memory is reclaimed.
What about AppDomain unload, where the hosting process might be very
long-lived indeed?
Quote:

>
> If you can post a link to the offending MSDN page, I might be able to give
> more info...
>
> Marc
>

My System SpecsSystem Spec