modules/arcgis/src/arcgis-deck-layer-view-2d.js
// Called when the layer must be destroyed.
Called when the layer must be destroyed.
Called when the layer must be destroyed .
detach() {
      this.handles.removeAll();
      this.deckgl = null;
      if (this.model) {
        this.model.delete();
      }
      if (this.buffer) {
        this.buffer.delete();
      }
      if (this.deckFbo) {
        this.deckFbo.delete();
      }
    }
detach ( ) { this . handles . removeAll ( ) ; this . deckgl = null ; if ( this . model ) { this . model . delete ( ) ; } if ( this . buffer ) { this . buffer . delete ( ) ; } if ( this . deckFbo ) { this . deckFbo . delete ( ) ; } }
Called when the layer must be destroyed.
Called when the layer must be destroyed .