()
| 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", |
nothing calls this directly
no test coverage detected