mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-25 11:52:40 +01:00
Make sure SDL_Quit() is called on exit
This commit is contained in:
parent
95a0e31484
commit
449289c06a
@ -189,6 +189,8 @@ RWGame::~RWGame()
|
||||
log.info("Game", "Cleaning up work queue");
|
||||
delete work;
|
||||
|
||||
SDL_Quit();
|
||||
|
||||
log.info("Game", "Done cleaning up");
|
||||
}
|
||||
|
||||
|
@ -23,6 +23,8 @@ int main(int argc, char* argv[])
|
||||
SDL_Log("Failed to show message box\n");
|
||||
}
|
||||
|
||||
SDL_Quit();
|
||||
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user