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
Currently the AutoGC option doesn't do anything for the JavaScript target. The WebIDL binder that comes with Emscripten and is used for Ammo.js does do some kind of wrapping of the generated bindings that allows the pointers to be garbage collected by JavaScript. I don't understand exactly how this works, but I'll have to try to take the same concept and implement it here.
If anybody else understands it I could use some pointers. 🙂
The text was updated successfully, but these errors were encountered:
Looks like this actually isn't possible to do for JS, unfortunately. 🙁 ( see emscripten-core/emscripten#8206 (comment) ). Should maybe update the autoGC flag to be hlAutoGC or something else specific to HL to avoid confusion.
Currently the AutoGC option doesn't do anything for the JavaScript target. The WebIDL binder that comes with Emscripten and is used for Ammo.js does do some kind of wrapping of the generated bindings that allows the pointers to be garbage collected by JavaScript. I don't understand exactly how this works, but I'll have to try to take the same concept and implement it here.
If anybody else understands it I could use some pointers. 🙂
The text was updated successfully, but these errors were encountered: