MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / dispose

Method dispose

packages/agent-core/src/di/lifecycle.ts:264–269  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

262 }
263
264 dispose(): void {
265 if (this._isDisposed) return;
266 this._isDisposed = true;
267 markAsDisposed(this);
268 this.clear();
269 }
270
271 get isDisposed(): boolean {
272 return this._isDisposed;

Callers 1

disposeOnReturnFunction · 0.95

Calls 2

clearMethod · 0.95
markAsDisposedFunction · 0.85

Tested by

no test coverage detected