Merge pull request #3393 from Programatic/crash_fix
UI: Fix source ref bug causing crash on exit
This commit is contained in:
commit
9af5edc6e2
@ -169,6 +169,7 @@ QDataStream &operator>>(QDataStream &in, OBSScene &scene)
|
||||
|
||||
obs_source_t *source = obs_get_source_by_name(QT_TO_UTF8(sceneName));
|
||||
scene = obs_scene_from_source(source);
|
||||
obs_source_release(source);
|
||||
|
||||
return in;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user