Skip to content

fix(interactive_browser): close remote browsers when a worker shuts down #5979

Closed

Description

@ananthsub

interactive_browser has no shutdown hook, so a worker that exits leaves its remote CDP browsers (the lexmount provider) open until the provider ends them. This predates multi-worker support, but each extra worker is another process whose exit can leave browsers behind.

Raised in the review of #4790.

Done when the server's lifespan closes every browser its worker holds on shutdown, and a test shows a remote browser closed when the server stops.

Activity

  1. added a commit that references this issue on Nov 13, 2026
    61dc0d4
  2. added a commit that references this issue on Nov 13, 2026
    b4f6a0d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions