Note a potential resource leak

This commit is contained in:
Robin
2025-10-08 18:51:30 -04:00
parent 1a4b38cf93
commit 2d7e4247f3

View File

@@ -67,6 +67,7 @@ export const trackProcessorSync = (
videoTrack$: Behavior<LocalVideoTrack | null>,
processor$: Behavior<ProcessorState>,
): void => {
// TODO-MULTI-SFU: Bind to an ObservableScope to avoid leaking resources.
combineLatest([videoTrack$, processor$]).subscribe(
([videoTrack, processorState]) => {
if (!processorState) return;