diff --git a/src/Camera.tsx b/src/Camera.tsx index 8551d80..6150022 100644 --- a/src/Camera.tsx +++ b/src/Camera.tsx @@ -409,15 +409,6 @@ export class Camera extends React.PureComponent { this.lastFrameProcessor = frameProcessor; } } - - /** @internal */ - componentWillUnmount(): void { - if (!this.isNativeViewMounted) return; - if (this.lastFrameProcessor != null || this.props.frameProcessor != null) { - this.unsetFrameProcessor(); - this.lastFrameProcessor = undefined; - } - } //#endregion /** @internal */