MCPcopy Create free account
hub / github.com/agent-tower/core / cleanupPortFile

Function cleanupPortFile

packages/server/src/cli.ts:231–233  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

229 app = await buildApp();
230
231 const requestShutdown = (signal: string) => {
232 console.log(`\n${signal} received, shutting down...`);
233 // Concurrent signals share the same referenced promise. No signal is an
234 // implicit force-exit path while a process owner remains unresolved.
235 void shutdown.request().then(() => {
236 console.log('Server closed');

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected