diff --git a/libobs/obs-scene.c b/libobs/obs-scene.c index ce0ee4d3f801da..1d3926fe388889 100644 --- a/libobs/obs-scene.c +++ b/libobs/obs-scene.c @@ -2254,19 +2254,13 @@ void obs_sceneitem_remove(obs_sceneitem_t *item) { obs_scene_t *scene; - if (!item) + if (!item || item->removed) return; scene = item->parent; full_lock(scene); - if (item->removed) { - if (scene) - full_unlock(scene); - return; - } - item->removed = true; assert(scene != NULL);