sdl2_sys
pub unsafe extern "C" fn SDL_Quit()
This function cleans up all initialized subsystems. You should call it upon all exit conditions.