client-sdk-react-native
client-sdk-react-native copied to clipboard
IOS VideoCaptureController memory leaks
Describe the bug A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
if write a code
- (void)dealloc {
self.device = NULL;
NSLog(@"‼️ ----=====");
}
in VideoCaptureController class after that open new room video local video and go out
you will never see logs that VideoCaptureController was deallocated
and if try to reproduce the same few time a few VideoCaptureController will be leaked
Expected behavior
VideoCaptureController should be deallocated after you left a room
- @livekit/react-native: 2.3.1
- react-native-webrtc: 125.0.0