mirror of
https://github.com/rwengine/openrw.git
synced 2024-09-15 15:02:34 +02:00
Merge pull request #230 from svenstucki/quit
Make sure SDL_Quit() is called on exit
This commit is contained in:
commit
92b7f922b4
@ -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