Skip to content

Commit

Permalink
Merge 9e352ae into 0640e06
Browse files Browse the repository at this point in the history
  • Loading branch information
nflaig authored Jul 12, 2023
2 parents 0640e06 + 9e352ae commit 1787286
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/cli/src/cmds/beacon/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ export async function beaconHandler(args: BeaconArgs & GlobalArgs): Promise<void
try {
await node.close();
logger.debug("Beacon node closed");
// Explicitly exit until active handles issue is resolved
// See https://github.com/ChainSafe/lodestar/issues/5642
process.exit(0);
} catch (e) {
logger.error("Error closing beacon node", {}, e as Error);
// Make sure db is always closed gracefully
Expand Down

0 comments on commit 1787286

Please sign in to comment.