diff --git a/modules/carto/src/layers/post-process-utils.ts b/modules/carto/src/layers/post-process-utils.ts index 53aa0defd7f..5cde969c591 100644 --- a/modules/carto/src/layers/post-process-utils.ts +++ b/modules/carto/src/layers/post-process-utils.ts @@ -185,6 +185,14 @@ export function PostProcessModifier { + fbo.destroy(); + }); + this.internalState.renderBuffers = null; + this.internalState.postProcess.cleanup(); + } }; }