Skip to content

Commit

Permalink
adding worklet decorator to finally function
Browse files Browse the repository at this point in the history
  • Loading branch information
luicfrr committed Apr 23, 2024
1 parent e92da36 commit f555c39
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Camera.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ export const Camera = React.forwardRef( ( {
faces,
frame
).finally( () => {
'worklet'
// finally decrement frame count so it can be dropped
internal.decrementRefCount()
} )
Expand Down

0 comments on commit f555c39

Please sign in to comment.