Skip to content

Conversation

@pavelfeldman
Copy link
Member

@pavelfeldman pavelfeldman commented Mar 25, 2025

Fixes #18

async stop() {
await this._server.close();
await this._page?.context()?.browser()?.close();
await this._context.close();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why don't we close browser anymore and who does it instead?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is server's stop, current implementation is CLI-only, so the process will self-destruct upon detach.

@pavelfeldman pavelfeldman merged commit a392ba2 into microsoft:main Mar 25, 2025
2 checks passed
@JohnPeng47
Copy link

Sweet!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MCP Server tied to single Chromium instance

4 participants