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

3D GUI lifecycle edge case #86

Closed
brentyi opened this issue Aug 23, 2023 · 0 comments
Closed

3D GUI lifecycle edge case #86

brentyi opened this issue Aug 23, 2023 · 0 comments

Comments

@brentyi
Copy link
Collaborator

brentyi commented Aug 23, 2023

Currently, if we:

  • Call add_3d_gui_container() to add a 3D GUI container at /gui.
  • Add some GUI elements to /gui. Buttons, sliders, etc.
  • Add another 3D GUI container at /gui, overwriting the original one.

The original GUI container and its contents will be erased, but callbacks, configs, etc for the GUI elements inside of it won't be cleaned out. This will slowly leak memory.

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

No branches or pull requests

1 participant