Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebGLRenderLists: Fix the issue that memory for disposed objects is not released #12464

Closed
wants to merge 7 commits into from
1 change: 1 addition & 0 deletions src/renderers/webgl/WebGLRenderLists.js
Expand Up @@ -57,6 +57,7 @@ function WebGLRenderList() {
function init() {

renderItemsIndex = 0;
renderItems.length = 0;

opaque.length = 0;
transparent.length = 0;
Expand Down