DConf 2013 Day 2 Talk 2: Shared Libraries in D by Martin Nowak

Steven Schveighoffer schveiguy at yahoo.com
Wed May 29 21:00:14 PDT 2013


On Wed, 29 May 2013 22:12:54 -0400, Diggory <diggsey at googlemail.com> wrote:

> With regard to the last point in the talk where Walter was suggesting  
> not calling finalizers on objects whose code has been unloaded - would  
> it not make more sense to simply call all the finalizers before  
> unloading the library?

In fact, I think in discussions after the talk (not recorded on video), we  
came to the same conclusion.  If you are unloading the library and have  
any pointers to classes from that library, that is a programming error.   
So it should be safe to destroy all known objects from that library.

-Steve


More information about the Digitalmars-d-announce mailing list