engine
engine copied to clipboard
Clear wasm module global
Glb-parser currently fails to work with draco because it looks at window global for wasm module.
This PR changes WasmModule to clear the global module object on window.
Could this cause issues on multi engine instances apps if it clears a global?
Could this cause issues on multi engine instances apps if it clears a global?
Nope. I'd like to add support for multiple applications or wasm instances, but that won't be affected by this change.