UI: Fix possible source reference leakage
This would fail to release the reference if the 'direct' parameter was used. Closes jp9000/obs-studio#1116
This commit is contained in:
parent
2741337755
commit
cd1399f01a
@ -341,7 +341,7 @@ void OBSBasic::TransitionToScene(OBSSource source, bool force, bool direct,
|
||||
TransitionFullyStopped();
|
||||
}
|
||||
|
||||
if (usingPreviewProgram && sceneDuplicationMode && !direct)
|
||||
if (usingPreviewProgram && sceneDuplicationMode)
|
||||
obs_scene_release(scene);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user