Skip to content

Conversation

@oscarlorentzon
Copy link
Member

Motivation

Ensure that onDetach is only called once on custom camera control instances when detached.

Contribution

  • Only call onDetach once.
  • Unit test.
  • Return camera controls in promise when detaching.

Test Plan

yarn test

@oscarlorentzon oscarlorentzon added this to the v4.1.0 milestone Nov 8, 2021
Only detach once. Unit test.
Return camera controls in promise when detaching.
@oscarlorentzon oscarlorentzon merged commit b3c694f into main Nov 8, 2021
@oscarlorentzon oscarlorentzon deleted the feature-camera-detach branch November 8, 2021 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants