mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-15 07:44:10 +00:00
And cover the one in scene_destroy
This commit is contained in:
parent
7b37dc6cbb
commit
73d4e1331c
|
@ -62,10 +62,12 @@ fail:
|
|||
static void scene_destroy(void *data)
|
||||
{
|
||||
struct obs_scene *scene = data;
|
||||
struct obs_scene_item *item = scene->first_item;
|
||||
struct obs_scene_item *item;
|
||||
|
||||
pthread_mutex_lock(&scene->mutex);
|
||||
|
||||
item = scene->first_item;
|
||||
|
||||
while (item) {
|
||||
struct obs_scene_item *del_item = item;
|
||||
item = item->next;
|
||||
|
|
Loading…
Reference in a new issue