HTML-GL
HTML-GL copied to clipboard
[FEATURE] WebGL Teardown
When the <html-gl> element or an element that has been activated via jQuery(element).htmlgl() is removed from DOM the associated WebGL representation should also be torn down.
This can be done via MutationObserver, but the teardown routine should also be publicly available for manual triggering.
Hi, could you make a pull request on that?