Webgl points renderer / terminates worker & dispose helper

This commit is contained in:
Olivier Guyot
2019-09-24 17:42:48 +02:00
parent cb2c596a6d
commit 30f19f8317
3 changed files with 25 additions and 0 deletions

View File

@@ -574,6 +574,14 @@ class WebGLPointsLayerRenderer extends WebGLLayerRenderer {
const renderCount = this.indicesBuffer_.getSize();
this.helper.drawElements(0, renderCount);
}
/**
* @inheritDoc
*/
disposeInternal() {
this.worker_.terminate();
super.disposeInternal();
}
}
export default WebGLPointsLayerRenderer;