Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(FaceMeasurement): handle world.isDisposing when setting visibility #416

Conversation

SimonSchneider
Copy link
Contributor

Description

The FaceMeasurement component throws during components.dispose().

This occurs when the components are being disposed and the world is disposed
before the FaceMeasurement. components.dispose() calls enabled = false before disposing
individual components which causes issues because FaceMeasurement calls setVisibility(false) when
enabled is set.

Additional context

N/A

What is the purpose of this pull request?

  • Bug fix

@agviegas agviegas merged commit 68b40c1 into ThatOpen:main Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants