Prevent another memory leak

This commit is contained in:
Twinaphex 2016-05-23 14:45:43 +02:00
parent 09b10943b2
commit 86ef11e756

View File

@ -1049,6 +1049,7 @@ bool runloop_ctl(enum runloop_ctl_state state, void *data)
#ifdef HAVE_THREADS
threaded_enable = settings->threaded_data_runloop_enable;
#endif
task_queue_ctl(TASK_QUEUE_CTL_DEINIT, NULL);
task_queue_ctl(TASK_QUEUE_CTL_INIT, &threaded_enable);
}
break;