Delete core_context before shutting down SDL

This commit is contained in:
James Rowe 2019-09-22 00:01:31 -06:00
parent 29c12058c7
commit 66f5278f52
1 changed files with 1 additions and 0 deletions

View File

@ -211,6 +211,7 @@ EmuWindow_SDL2::EmuWindow_SDL2(bool fullscreen) {
}
EmuWindow_SDL2::~EmuWindow_SDL2() {
core_context.reset();
Network::Shutdown();
InputCommon::Shutdown();
SDL_GL_DeleteContext(window_context);