MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / cleanup

Method cleanup

ai/ai.ts:5139–5150  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5137
5138 async cleanup(): Promise<void> {
5139 if (this.cleanedUp) {
5140 return;
5141 }
5142 this.cleanedUp = true;
5143
5144 this.questionFeature.cancelCurrentOperation();
5145 await this.aiService.destroy();
5146 this.httpClient.destroy();
5147 const configManager = await this.configManagerPromise;
5148 await configManager.destroy();
5149 }
5150
5151 // Panel Settings Adapter
5152 panelAdapter: PanelSettingsAdapter = {
5153 id: "ai",

Callers

nothing calls this directly

Calls 2

destroyMethod · 0.45

Tested by

no test coverage detected