UI: Make status bar record output a weak ref

This changes the status bar record output from a strong reference
to a weak one.
This commit is contained in:
cg2121
2024-06-03 17:00:12 -04:00
committed by Ryan Foster
parent 9c427c5f93
commit 17d654fcfc
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -561,7 +561,7 @@ void OBSBasicStatusBar::StreamStopped()
void OBSBasicStatusBar::RecordingStarted(obs_output_t *output)
{
recordOutput = output;
recordOutput = OBSGetWeakRef(output);
Activate();
}