MCPcopy Create free account
hub / github.com/microsoft/vscode-cpptools / cleanUpCallbacks

Function cleanUpCallbacks

Extension/src/Debugger/nativeAttach.ts:208–214  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

206 });
207
208 const cleanUpCallbacks = () => {
209 clearTimeout(processTimeout);
210 process.removeAllListeners();
211 if (cancellationTokenListener) {
212 cancellationTokenListener.dispose();
213 }
214 };
215
216 // Handle data streams
217 if (process.stdout) {

Callers 1

spawnChildProcessFunction · 0.85

Calls 1

disposeMethod · 0.65

Tested by

no test coverage detected