8000 address comment · mongodb-js/mongodb-mcp-server@e134a22 · GitHub
[go: up one dir, main page]

Skip to content

Commit e134a22

Browse files
committed
address comment
1 parent f817047 commit e134a22

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ try {
4747
});
4848
};
4949

50-
process.on("SIGINT", shutdown);
51-
process.on("SIGTERM", shutdown);
52-
process.on("SIGQUIT", shutdown);
50+
process.once("SIGINT", shutdown);
51+
process.once("SIGTERM", shutdown);
52+
process.once("SIGQUIT", shutdown);
5353

5454
await server.connect(transport);
5555
} catch (error: unknown) {

0 commit comments

Comments
 (0)
0