mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 13:14:04 +00:00
Right now close is based on core unload. There are several places where cores are unloaded without the intention of stopping the emulation (for instance whenever Netplay is started, core is updated, etc). Moreover scheduling a quit under some of those events causes a task queue deadlock (as per issue #15313) and freezed retroarch. This fix moves the quit on close to a "manual" check, placed in the relevant places (close content menu option, close content event (which also covers hotkeys), etc.)