Potential memory leak when disposing GreasedLine

As a reliable workaround one may use line.material.dispose() before disposing the line itself.
Example - https://playground.babylonjs.com/#HWJ3A1#3

2 Likes