Switch puppeteer stdin close from process.exit to server.close

This commit is contained in:
colinmcneil
2024-12-19 13:05:15 -05:00
committed by Jim Clark
parent 5865afb07a
commit 4034df774e

View File

@@ -404,5 +404,5 @@ runServer().catch(console.error);
process.stdin.on("close", () => { process.stdin.on("close", () => {
console.error("Puppeteer MCP Server closed"); console.error("Puppeteer MCP Server closed");
process.exit(1); server.close();
}); });