mirror of
https://github.com/citra-emu/citra.git
synced 2024-12-18 17:00:05 +00:00
Delete core_context before shutting down SDL
This commit is contained in:
parent
29c12058c7
commit
66f5278f52
@ -211,6 +211,7 @@ EmuWindow_SDL2::EmuWindow_SDL2(bool fullscreen) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
EmuWindow_SDL2::~EmuWindow_SDL2() {
|
EmuWindow_SDL2::~EmuWindow_SDL2() {
|
||||||
|
core_context.reset();
|
||||||
Network::Shutdown();
|
Network::Shutdown();
|
||||||
InputCommon::Shutdown();
|
InputCommon::Shutdown();
|
||||||
SDL_GL_DeleteContext(window_context);
|
SDL_GL_DeleteContext(window_context);
|
||||||
|
Loading…
Reference in New Issue
Block a user