mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +00:00
Revert this back - reintroduce the leak but should hopefully
solve issues on newer Intel CPUs
This commit is contained in:
parent
599385de87
commit
51e2da2cbd
@ -99,8 +99,7 @@ static void *thread_wrap(void *data_)
|
|||||||
struct thread_data *data = (struct thread_data*)data_;
|
struct thread_data *data = (struct thread_data*)data_;
|
||||||
if (!data)
|
if (!data)
|
||||||
return 0;
|
return 0;
|
||||||
if (data->func)
|
data->func(data->userdata);
|
||||||
data->func(data->userdata);
|
|
||||||
free(data);
|
free(data);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -1051,7 +1051,6 @@ 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