opened
cokicm
username_0
_renderer created at line [106](https://github.com/username_1/Leaflet.PixiOverlay/blob/3dccef66de8b441ed7de4e1221aabc877d7b99e9/L.PixiOverlay.js#L106) is not destroyed. On creating multiple PixiOverlays, video memory allocated at this place leaks.

If the field is destroyed by calling _renderer.destroy(), GPU memory is freed.

Probably PixiOverlay should have its own destroy() method that should destroy _renderer and possibly _auxRenderer as well.
_renderer is not destroyed
issue
created
manubb
username_1
Thanks for reporting. I will fix this but i need some time to think about it.
comment