fix: Fix unset Frame Processor not being called
This commit is contained in:
parent
5275b1e49c
commit
9b645a886e
@ -349,7 +349,7 @@ export class Camera extends React.PureComponent<CameraProps> {
|
|||||||
private unsetFrameProcessor(): void {
|
private unsetFrameProcessor(): void {
|
||||||
this.assertFrameProcessorsEnabled();
|
this.assertFrameProcessorsEnabled();
|
||||||
// @ts-expect-error JSI functions aren't typed
|
// @ts-expect-error JSI functions aren't typed
|
||||||
global.setFrameProcessor(this.handle, this.props.frameProcessor);
|
global.unsetFrameProcessor(this.handle);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user