diff --git a/package/src/Camera.tsx b/package/src/Camera.tsx index f6cd63a..253bd50 100644 --- a/package/src/Camera.tsx +++ b/package/src/Camera.tsx @@ -431,13 +431,6 @@ export class Camera extends React.PureComponent { this.lastFrameProcessor = frameProcessor } } - - /** @internal */ - componentWillUnmount(): void { - if (this.lastFrameProcessor !== null) { - this.unsetFrameProcessor() - } - } //#endregion /** @internal */