Skip to content
This repository was archived by the owner on Feb 10, 2026. It is now read-only.

Commit 5f62e2e

Browse files
committed
Remove calls to cleanup methods
1 parent cd8ea89 commit 5f62e2e

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

packages/react-native-client/src/livestream/hooks/useLivestreamStreamer.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ export const useLivestreamStreamer = ({
128128
const ref = whipClientRef.current;
129129
return () => {
130130
ref?.disconnect();
131-
ref?.cleanup();
132131
};
133132
}, [
134133
camera,

packages/react-native-client/src/livestream/hooks/useLivestreamViewer.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ export const useLivestreamViewer = (): useLivestreamViewerResult => {
6262
const ref = whepClientRef.current;
6363
return () => {
6464
ref?.disconnect();
65-
ref?.cleanup();
6665
};
6766
}, []);
6867

0 commit comments

Comments
 (0)