You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now manual memory management with this lib is not straightforward, and not everything required is correctly exposed. Also, nothing is documented in the READMEs
This needs fixing!
todo:
add destroy() methods where appropriate
expose emscripten _free and destroy in @recast-navigation/core for more advanced use cases
add memory management information to READMEs
The text was updated successfully, but these errors were encountered:
isaac-mason
changed the title
Improve memory management and document
Improve memory cleanup functionality and document
May 8, 2023
Right now recast-navigation has some functionality for attempting to automatically free memory when c++ objects aren't correctly destroyed via FinalizationRegistry.
I'm not 100% convinced the feature is a good idea, and the current implementation isn't great. It should be removed at least for now.
Right now manual memory management with this lib is not straightforward, and not everything required is correctly exposed. Also, nothing is documented in the READMEs
This needs fixing!
todo:
destroy()
methods where appropriate_free
anddestroy
in @recast-navigation/core for more advanced use casesThe text was updated successfully, but these errors were encountered: