diff --git a/src/Camera.tsx b/src/Camera.tsx index be8a646..a3c9ee3 100644 --- a/src/Camera.tsx +++ b/src/Camera.tsx @@ -349,7 +349,7 @@ export class Camera extends React.PureComponent { private unsetFrameProcessor(): void { this.assertFrameProcessorsEnabled(); // @ts-expect-error JSI functions aren't typed - global.setFrameProcessor(this.handle, this.props.frameProcessor); + global.unsetFrameProcessor(this.handle); } /**