Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
public static shutdown() {
if (!this._initialized)
return;
this._wantEventLoop = false;
window.removeEventListener("resize", IModelApp.requestNextAnimation);
this.clearIntervalAnimation();
[this.toolAdmin, this.viewManager, this.tileAdmin].forEach((sys) => sys.onShutDown());
this._renderSystem = dispose(this._renderSystem);
this._entityClasses.clear();
this._initialized = false;
}
public dispose() {
this._colorTexture = dispose(this._colorTexture);
this._featureTexture = dispose(this._featureTexture);
this._hiliteTexture = dispose(this._hiliteTexture);
this._fbo = dispose(this._fbo);
this._hiliteFbo = dispose(this._hiliteFbo);
}
public dispose() {
dispose(this.graphic);
}
}
public dispose() {
dispose(this._buffers);
dispose(this._indices);
}
public dispose() {
this._graphic = dispose(this._graphic);
this._rangeGraphic = dispose(this._rangeGraphic);
this._rangeGraphicType = Tile.DebugBoundingBoxes.None;
if (this._children)
for (const child of this._children)
dispose(child);
this._children = undefined;
this._state = TileState.Abandoned;
}
public dispose() {
this._colorTexture = dispose(this._colorTexture);
this._featureTexture = dispose(this._featureTexture);
this._hiliteTexture = dispose(this._hiliteTexture);
this._fbo = dispose(this._fbo);
this._hiliteFbo = dispose(this._hiliteFbo);
}
public dispose() {
dispose(this.buffers);
dispose(this._vertices);
}
public dispose() {
dispose(this.transforms);
dispose(this.featureIds);
dispose(this.symbology);
}
public dispose() {
dispose(this.lut);
dispose(this._buffers);
}
public dispose() {
dispose(this.buffers);
dispose(this.lut);
dispose(this.indices);
}