MCPcopy Create free account
hub / github.com/Waishnav/devspace / shutdown

Function shutdown

src/server.ts:1750–1755  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1748 });
1749
1750 const shutdown = () => {
1751 httpServer.close(() => {
1752 close();
1753 process.exit(0);
1754 });
1755 };
1756 process.once("SIGINT", shutdown);
1757 process.once("SIGTERM", shutdown);
1758}

Callers

nothing calls this directly

Calls 1

closeMethod · 0.65

Tested by

no test coverage detected