mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-19 04:34:04 -04:00
UI: Fix source ref bug causing crash on exit
This commit is contained in:
1 parent
4aa6610bf4
commit
642dff054d
1 file changed
+1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user