mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
Set runloop_msg_queue_lock back to NULL after freeing it
This commit is contained in:
parent
c2e0e8d9fb
commit
9ea78c19c7
@ -761,6 +761,7 @@ bool runloop_ctl(enum runloop_ctl_state state, void *data)
|
|||||||
#ifdef HAVE_THREADS
|
#ifdef HAVE_THREADS
|
||||||
slock_free(runloop_msg_queue_lock);
|
slock_free(runloop_msg_queue_lock);
|
||||||
#endif
|
#endif
|
||||||
|
runloop_msg_queue_lock = NULL;
|
||||||
break;
|
break;
|
||||||
case RUNLOOP_CTL_MSG_QUEUE_DEINIT:
|
case RUNLOOP_CTL_MSG_QUEUE_DEINIT:
|
||||||
if (!g_msg_queue)
|
if (!g_msg_queue)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user