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:
parent
9c427c5f93
commit
17d654fcfc
2 changed files with 2 additions and 2 deletions
|
|
@ -561,7 +561,7 @@ void OBSBasicStatusBar::StreamStopped()
|
|||
|
||||
void OBSBasicStatusBar::RecordingStarted(obs_output_t *output)
|
||||
{
|
||||
recordOutput = output;
|
||||
recordOutput = OBSGetWeakRef(output);
|
||||
Activate();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue