MCPcopy Create free account
hub / github.com/codeaashu/claude-code / dispose

Method dispose

src/server/web/public/terminal.js:5601–5603  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5599 return null === this._cachedFg && (this.options.foregroundColor ? this._cachedFg = s2.css.toColor(this.options.foregroundColor) : this._cachedFg = void 0), this._cachedFg;
5600 }
5601 constructor(e3) {
5602 super(), this.options = e3, this.onRenderEmitter = this.register(new r.EventEmitter()), this.onRender = this.onRenderEmitter.event, this._onDispose = this.register(new r.EventEmitter()), this.onDispose = this._onDispose.event, this._cachedBg = null, this._cachedFg = null, this.marker = e3.marker, this.options.overviewRulerOptions && !this.options.overviewRulerOptions.position && (this.options.overviewRulerOptions.position = "full");
5603 }
5604 dispose() {
5605 this._onDispose.fire(), super.dispose();
5606 }

Callers 1

registerDecorationMethod · 0.95

Calls 2

fireMethod · 0.80
disposeMethod · 0.65

Tested by

no test coverage detected