Open seadra opened 1 year ago
As far as I know atexit()
is not called on crash
I think it should be added whether it is called during a crash or not, because at the moment, the program can exit without cleanly terminating the SDL video subsystem. For example:
just calls the libc exit.
I can't find any instance of SDL_Quit()
or SDL_QuitSubSystem(SDL_INIT_VIDEO)
in the current code base.
Whenever fallout2 crashes, the desktop is left at some very low resolution. How about adding
atexit(SDL_Quit);
to clean all all subsystems including video?