这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@MihMihai
Copy link
Contributor

Made _context nullable in three_viewer.dart, so that the ThreeJs object can be reused on web to prevent crashes after creating multiple instances and the GPU does not deallocate them fast enough.
Furthermore, checking if the context is mounted is always a good thing to do in async operations.

…ct can be reused on web to prevent crashes after creating multiple instances and the GPU does not deallcoate them fast enough. Checking if the context is mounted is always a good thing to do in async operations.
@Knightro63 Knightro63 merged commit e003038 into Knightro63:main Aug 20, 2025
1 check failed
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