From 0978bb0c95a68de7aacb9c631cf81298340731f8 Mon Sep 17 00:00:00 2001 From: thinkinggis Date: Thu, 16 Jul 2020 14:23:27 +0800 Subject: [PATCH] fix(render): fix elemet double destroy error --- packages/renderer/src/regl/ReglElements.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/renderer/src/regl/ReglElements.ts b/packages/renderer/src/regl/ReglElements.ts index efe6867042..69fc41b9c9 100644 --- a/packages/renderer/src/regl/ReglElements.ts +++ b/packages/renderer/src/regl/ReglElements.ts @@ -35,6 +35,6 @@ export default class ReglElements implements IElements { } public destroy() { - this.elements.destroy(); + // this.elements.destroy(); } }