Skip to content
Permalink
Browse files

Merge 427d0b3 into 1222ed1

  • Loading branch information...
Pessimistress committed Apr 29, 2019
2 parents 1222ed1 + 427d0b3 commit fdde5ba3c7563876ac20b92c4d7be44d6132459c
Showing with 5 additions and 0 deletions.
  1. +5 −0 modules/core/src/lib/layer-manager.js
@@ -109,6 +109,11 @@ export default class LayerManager {
// Method to call when the layer manager is not needed anymore.
// Currently used in the <DeckGL> componentWillUnmount lifecycle to unbind Seer listeners.
finalize() {
// Finalize all layers
for (const layer of this.layers) {
this._finalizeLayer(layer);
}

seer.removeListener(this._initSeer);
seer.removeListener(this._editSeer);
}

0 comments on commit fdde5ba

Please sign in to comment.
You can’t perform that action at this time.