quit
Description:
[ CCode ( cname = "SDL_Quit" ) ]
public void quit ()
public void quit ()
Use this function to clean up all initialized subsystems. You should call it upon all exit conditions.
You should call this function even if you have already shutdown each initialized subsystem with SDL.quit_subsystem. It is safe to call this function even in the case of errors in initialization.
If you start a subsystem using a call to that subsystem's init function (for example SDL.Video.init) instead of SDL.init or SDL.init_subsystem, then you must use that subsystem's quit function ( SDL.Video.quit) to shut it down before calling SDL.quit.
Namespace: SDL
Package: sdl2