Browse Source

UI: Fix source ref bug causing crash on exit

Programatic 5 years ago
parent
commit
642dff054d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      UI/qt-wrappers.cpp

+ 1 - 0
UI/qt-wrappers.cpp

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