MCPcopy
hub / github.com/xtermjs/xterm.js / preDisposeWebgl

Function preDisposeWebgl

demo/client.ts:656–660  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

654 }, 500);
655 }
656 function preDisposeWebgl(): void {
657 if (addons.webgl.instance.textureAtlas) {
658 addons.webgl.instance.textureAtlas.remove();
659 }
660 }
661 if (checkbox.checked) {
662 // HACK: Manually remove addons that cannot be changes
663 addon.instance = new (addon as IDemoAddon<Exclude<AddonType, 'attach'>>).ctor();

Callers 1

initAddonsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected