MCPcopy Index your code
hub / github.com/Waishnav/devspace / shutdown

Function shutdown

src/cli.ts:198–203  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

196 });
197
198 const shutdown = () => {
199 httpServer.close(() => {
200 close();
201 process.exit(0);
202 });
203 };
204 process.once("SIGINT", shutdown);
205 process.once("SIGTERM", shutdown);
206}

Callers

nothing calls this directly

Calls 1

closeMethod · 0.65

Tested by

no test coverage detected