mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 16:39:43 +00:00
Only call rarch_main_deinit if main has been initied.
This commit is contained in:
parent
998aac0765
commit
81fc0f621a
@ -295,7 +295,8 @@ void main_exit(args_type() args)
|
||||
}
|
||||
#endif
|
||||
|
||||
rarch_main_deinit();
|
||||
if (g_extern.main_is_init)
|
||||
rarch_main_deinit();
|
||||
rarch_deinit_msg_queue();
|
||||
global_uninit_drivers();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user