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

Method dispose

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

Source from the content-addressed store, hash-verified

433 this._renderCallback = e3, this._coreBrowserService = t3, this._refreshCallbacks = [];
434 }
435 dispose() {
436 this._animationFrame && (this._coreBrowserService.window.cancelAnimationFrame(this._animationFrame), this._animationFrame = void 0);
437 }
438 addRefreshCallback(e3) {
439 return this._refreshCallbacks.push(e3), this._animationFrame || (this._animationFrame = this._coreBrowserService.window.requestAnimationFrame((() => this._innerRefresh()))), this._animationFrame;
440 }

Callers

nothing calls this directly

Calls 3

clearListenersMethod · 0.80
disposeMethod · 0.65
createMethod · 0.65

Tested by

no test coverage detected