Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle remote closed #37

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

johns10
Copy link

@johns10 johns10 commented Mar 8, 2022

I found a problem while working with my app. When chrome is opened, and then closed manually, I get a {:remote, :closed} termination from WebsockEx. I added a handle_disconnect callback to the WebSocket module, and trapped exits in PageSession so we could handle the remote closing gracefully, and handle it in the supervising process properly.

aus70 added a commit to aus70/chrome-remote-interface that referenced this pull request Apr 11, 2024
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.

None yet

1 participant