Skip to content

Gracefully shutdown the browser on .quit - #448

Merged
route merged 2 commits into
rubycdp:mainfrom
sloane:sloane/quit
Feb 25, 2024
Merged

Gracefully shutdown the browser on .quit#448
route merged 2 commits into
rubycdp:mainfrom
sloane:sloane/quit

Conversation

@sloane

Copy link
Copy Markdown
Contributor

Fixes#418 - #418 (comment)

In my application, I found that my sessions to my Browserless server were staying open after I called .quit. When I invoke this command, the sessions more gracefully exit and the server gives back its resources.

@route
route merged commit e052e63 into rubycdp:mainFeb 25, 2024
@route

route commented Feb 25, 2024

Copy link
Copy Markdown
Member

Merged manually with changes. I only wanted it to be a dedicated command. quit handles it completely different from ruby side, close closes it from browser side.

@sloane
sloane deleted the sloane/quit branch February 25, 2024 19:31
Sign up for freeto 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.

browser.quit doesn't close session

2 participants

@sloane@route