()
| 172 | } |
| 173 | |
| 174 | public async dispose(): Promise<void> { |
| 175 | await this.stop(); // A whole lot of disposals. |
| 176 | |
| 177 | this.languageStatusItem.dispose(); |
| 178 | |
| 179 | for (const handler of this.registeredHandlers) { |
| 180 | handler.dispose(); |
| 181 | } |
| 182 | |
| 183 | for (const command of this.registeredCommands) { |
| 184 | command.dispose(); |
| 185 | } |
| 186 | } |
| 187 | |
| 188 | // The `exeNameOverride` is used by `restartSession` to override ANY other setting. |
| 189 | // We've made this function idempotent, so it can used to ensure the session has started. |
no test coverage detected