mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-21 17:34:57 -05:00
memory leak fix
This commit is contained in:
parent
5c3d4ea28b
commit
6319b5d938
|
|
@ -1964,6 +1964,7 @@ void SwitcherData::Thread()
|
|||
if (source && source != currentSource){
|
||||
obs_source_t *nextTransition;
|
||||
OBSWeakSource currentScene = obs_source_get_weak_source(currentSource);
|
||||
obs_weak_source_release(currentScene);
|
||||
OBSWeakSource nextTransitionWs = getNextTransition(currentScene, scene);
|
||||
|
||||
if (nextTransitionWs){
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user