Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libobs: Fix crash in
obs_sceneitem_remove()
when already removed
An already-removed item has a NULL `item->parent`, meaning that calling `full_lock(scene)` results in undefined behavior. This makes the method return earlier if the specified item is removed instead of attempting to lock the scene. No thread safety is changed, because it wasn't thread-safe to begin with.
- Loading branch information