DConf 2013 Day 2 Talk 2: Shared Libraries in D by Martin Nowak
Diggory
diggsey at googlemail.com
Wed May 29 21:15:27 PDT 2013
On Thursday, 30 May 2013 at 04:00:18 UTC, Steven Schveighoffer
wrote:
> 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
Ah, good to know :)
More information about the Digitalmars-d-announce
mailing list