MCPcopy Index your code
hub / github.com/Doorman11991/smallcode / resetShell

Function resetShell

src/tools/shell_session.js:326–331  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

324}
325
326function resetShell() {
327 if (_instance) {
328 _instance.stop();
329 _instance = null;
330 }
331}
332
333// Clean up on process exit. Use a global flag so re-requires of this module
334// (e.g. after `delete require.cache`) don't stack additional listeners.

Callers 1

runNonInteractiveFunction · 0.85

Calls 1

stopMethod · 0.45

Tested by

no test coverage detected