mirror of
https://github.com/libretro/RetroArch
synced 2025-02-15 09:40:11 +00:00
Prevent another memory leak
This commit is contained in:
parent
09b10943b2
commit
86ef11e756
@ -1049,6 +1049,7 @@ bool runloop_ctl(enum runloop_ctl_state state, void *data)
|
|||||||
#ifdef HAVE_THREADS
|
#ifdef HAVE_THREADS
|
||||||
threaded_enable = settings->threaded_data_runloop_enable;
|
threaded_enable = settings->threaded_data_runloop_enable;
|
||||||
#endif
|
#endif
|
||||||
|
task_queue_ctl(TASK_QUEUE_CTL_DEINIT, NULL);
|
||||||
task_queue_ctl(TASK_QUEUE_CTL_INIT, &threaded_enable);
|
task_queue_ctl(TASK_QUEUE_CTL_INIT, &threaded_enable);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user