Merge pull request #3393 from Programatic/crash_fix

UI: Fix source ref bug causing crash on exit
This commit is contained in:
Jim 2020-09-03 07:43:46 -07:00 committed by GitHub
commit 9af5edc6e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}