diff --git a/examples/webgl_performance_shader.html b/examples/webgl_performance_shader.html index 56fabd6e81c518..12f3781c005bec 100644 --- a/examples/webgl_performance_shader.html +++ b/examples/webgl_performance_shader.html @@ -149,7 +149,9 @@ const obj = scene.children[ i ]; scene.remove( obj ); - + obj.geometry.dispose(); + obj.material.dispose(); + } }