From 66f5278f52fed0023072a0a73840df4747ec3144 Mon Sep 17 00:00:00 2001 From: James Rowe Date: Sun, 22 Sep 2019 00:01:31 -0600 Subject: [PATCH] Delete core_context before shutting down SDL --- src/citra/emu_window/emu_window_sdl2.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/citra/emu_window/emu_window_sdl2.cpp b/src/citra/emu_window/emu_window_sdl2.cpp index c4907d0419..f8fc2b3a1c 100644 --- a/src/citra/emu_window/emu_window_sdl2.cpp +++ b/src/citra/emu_window/emu_window_sdl2.cpp @@ -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);