MCPcopy Create free account
hub / github.com/deepnote/vscode-deepnote / deactivate

Function deactivate

src/extension.node.ts:132–145  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

130}
131
132export function deactivate(): Thenable<void> {
133 Exiting.isExiting = true;
134 // Make sure to shutdown anybody who needs it.
135 if (activatedServiceContainer) {
136 const registry = activatedServiceContainer.get<IAsyncDisposableRegistry>(IAsyncDisposableRegistry);
137 if (registry) {
138 return registry.dispose();
139 }
140 }
141
142 deactivateExecutionAnalysis();
143
144 return Promise.resolve();
145}
146
147/////////////////////////////
148// activation helpers

Callers

nothing calls this directly

Calls 3

getMethod · 0.65
disposeMethod · 0.65
resolveMethod · 0.65

Tested by

no test coverage detected