Revert "fix: Remove Frame Processor when Camera unmounts (#1960)"
This reverts commit d51ac1529b
.
This commit is contained in:
parent
d51ac1529b
commit
1e7059ca8f
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user