MCPcopy Index your code
hub / github.com/microsoft/vscode-cpptools / dispose

Method dispose

Extension/src/cppTools.ts:119–125  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

117 }
118
119 public dispose(): void {
120 this.providers.forEach(provider => {
121 getCustomConfigProviders().remove(provider);
122 provider.dispose();
123 });
124 this.providers = [];
125 }
126
127 public getTestHook(): CppToolsTestHook {
128 return test.getTestHook();

Callers

nothing calls this directly

Calls 4

getCustomConfigProvidersFunction · 0.90
removeMethod · 0.65
disposeMethod · 0.65
forEachMethod · 0.45

Tested by

no test coverage detected