MCPcopy
hub / github.com/PowerShell/vscode-powershell / deactivate

Function deactivate

src/extension.ts:282–298  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

280}
281
282export async function deactivate(): Promise<void> {
283 // Clean up all extension features
284 for (const commandRegistration of commandRegistrations) {
285 commandRegistration.dispose();
286 }
287
288 // Dispose of the current session
289 await sessionManager.dispose();
290
291 // Dispose of the logger
292 logger.dispose();
293
294 // Dispose of telemetry reporter
295 await telemetryReporter.dispose();
296
297 languageConfigurationDisposable.dispose();
298}

Callers

nothing calls this directly

Calls 1

disposeMethod · 0.45

Tested by

no test coverage detected