fix(lifecycle): clean up service subscriptions, proxy retries, and stale runtime state on shutdown
This commit is contained in:
@@ -35,6 +35,6 @@ export const runCli = async () => {
|
||||
await dcRouter.stop();
|
||||
process.exit(0);
|
||||
};
|
||||
process.on('SIGINT', shutdown);
|
||||
process.on('SIGTERM', shutdown);
|
||||
process.once('SIGINT', shutdown);
|
||||
process.once('SIGTERM', shutdown);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user