Switch puppeteer stdin close from process.exit to server.close
This commit is contained in:
parent
5865afb07a
commit
4034df774e
1 changed files with 1 additions and 1 deletions
|
|
@ -404,5 +404,5 @@ runServer().catch(console.error);
|
|||
|
||||
process.stdin.on("close", () => {
|
||||
console.error("Puppeteer MCP Server closed");
|
||||
process.exit(1);
|
||||
server.close();
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue