[Issue 9900] static this and gc shutdown order issue

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Apr 8 02:50:34 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9900



--- Comment #2 from Xavier Bigand <flamaros.xavier at gmail.com> 2013-04-08 02:50:32 PDT ---
(In reply to comment #1)
> You must not use any shared library after unloading.
> The simplest approach right now is to nullify any class from the shared library
> and call GC.collect so that they get collected and finalized.

To fix it I add "delete script" before the "main" exit, but I thought druntime
call gc.collect just after my main return.

Maybe I need to do like in java with hiding (or destroy(object)) objects I will
not use anymore?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list