Derelict SFML destructor crashes

Nekroze nekroze at eturnilnetwork.com
Mon Dec 17 04:10:54 PST 2012


On Monday, 17 December 2012 at 12:08:29 UTC, Nekroze wrote:
> Now what i was thinking as a solution, would it be possible to 
> manually run the GC cleanup pass at the end of main this way we 
> know that the GC cleanup would run before main exits and thus 
> sfml gets unloaded. Although i believe this still doesn't 
> guarantee that it will think the class is fit for 
> deconstruction at that point so it may still no work but just a 
> thought.

By this i mean core.memory.GC.collect() for example. Note i have 
never used core.memory to touch the gc or anything and am 
assuming this function does what i am talking about.


More information about the Digitalmars-d-learn mailing list