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

Function deactivate

src/extension.web.ts:122–133  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

120}
121
122export function deactivate(): Thenable<void> {
123 Exiting.isExiting = true;
124 // Make sure to shutdown anybody who needs it.
125 if (activatedServiceContainer) {
126 const registry = activatedServiceContainer.get<IAsyncDisposableRegistry>(IAsyncDisposableRegistry);
127 if (registry) {
128 return registry.dispose();
129 }
130 }
131
132 return Promise.resolve();
133}
134
135/////////////////////////////
136// activation helpers

Callers

nothing calls this directly

Calls 3

getMethod · 0.65
disposeMethod · 0.65
resolveMethod · 0.65

Tested by

no test coverage detected