diff --git a/src/ios/NSFrameProcessor.mm b/src/ios/NSFrameProcessor.mm index 3c229b2d..f1e462af 100644 --- a/src/ios/NSFrameProcessor.mm +++ b/src/ios/NSFrameProcessor.mm @@ -55,6 +55,7 @@ - (void)dealloc while(self.avcapturesession.isRunning || self.Working){ std::this_thread::sleep_for(std::chrono::milliseconds(5)); } + [self.output release]; [self.avinput release]; [self.avcapturesession release]; [super dealloc];