mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
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:
@@ -561,7 +561,7 @@ void OBSBasicStatusBar::StreamStopped()
|
||||
|
||||
void OBSBasicStatusBar::RecordingStarted(obs_output_t *output)
|
||||
{
|
||||
recordOutput = output;
|
||||
recordOutput = OBSGetWeakRef(output);
|
||||
Activate();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user