SDL_Quit after GC shutdown?

Ivan Trombley itrombley at dot-borg.org
Thu Dec 28 06:34:00 UTC 2017


I believe that I should call SDL_Quit before my program 
terminates. However, some objects may be holding on to SDL 
resources and freeing these resources (particularly truetype 
resources) causes crashiness if SDL_Quit is called before. Is 
there a way to have SDL_Quit (and TTF_Quit) called after the GC 
has completed shutting down on program exit?

If not then it could make things very complex and messy to keep 
track of these resources.


More information about the Digitalmars-d mailing list