Revert "fix: Remove Frame Processor when Camera unmounts (#1960)"

This reverts commit d51ac1529b.
This commit is contained in:
Marc Rousavy 2023-10-10 18:58:47 +02:00
parent d51ac1529b
commit 1e7059ca8f
No known key found for this signature in database
GPG Key ID: 83BEF0F19E8F5321

View File

@ -431,13 +431,6 @@ export class Camera extends React.PureComponent<CameraProps> {
this.lastFrameProcessor = frameProcessor
}
}
/** @internal */
componentWillUnmount(): void {
if (this.lastFrameProcessor !== null) {
this.unsetFrameProcessor()
}
}
//#endregion
/** @internal */