mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 16:39:43 +00:00
deinit_msg_queue becomes static function - clean it up in rarch_main_state_free
This commit is contained in:
parent
1a94f14e50
commit
f273b34f73
@ -104,8 +104,6 @@ void main_exit(args_type() args)
|
||||
rarch_main_deinit();
|
||||
}
|
||||
|
||||
rarch_deinit_msg_queue();
|
||||
|
||||
rarch_perf_log();
|
||||
|
||||
#if defined(HAVE_LOGGER) && !defined(ANDROID)
|
||||
|
@ -806,7 +806,6 @@ void rarch_main_command(unsigned action);
|
||||
bool rarch_main_iterate(void);
|
||||
void rarch_main_deinit(void);
|
||||
void rarch_render_cached_frame(void);
|
||||
void rarch_deinit_msg_queue(void);
|
||||
void rarch_check_block_hotkey(bool pressed);
|
||||
bool rarch_check_fullscreen(bool pressed);
|
||||
void rarch_disk_control_set_eject(bool state, bool log);
|
||||
|
@ -1255,7 +1255,7 @@ static void init_msg_queue(void)
|
||||
rarch_assert(g_extern.msg_queue = msg_queue_new(8));
|
||||
}
|
||||
|
||||
void rarch_deinit_msg_queue(void)
|
||||
static void deinit_msg_queue(void)
|
||||
{
|
||||
if (g_extern.msg_queue)
|
||||
msg_queue_free(g_extern.msg_queue);
|
||||
@ -2568,11 +2568,11 @@ void rarch_main_state_new(void)
|
||||
|
||||
void rarch_main_state_free(void)
|
||||
{
|
||||
deinit_msg_queue();
|
||||
deinit_log_file();
|
||||
|
||||
main_clear_state(false);
|
||||
|
||||
rarch_deinit_msg_queue();
|
||||
}
|
||||
|
||||
#ifdef HAVE_ZLIB
|
||||
|
Loading…
Reference in New Issue
Block a user