Code review comment for lp:~der-treba/stratagus/stratagus

Revision history for this message
Joris Dauphin (joris-dauphin) wrote :

@treba:
atexit is the global c Raii.
atexit(SDL_Quit) mean that SDL_Quit will be called when program exits.
Call it twice means that SQL_Quit will be invoked twice when program exits.
So, I think you may remove the other atexit(SDL_Quit).

« Back to merge proposal