chrome-remote-interface icon indicating copy to clipboard operation
chrome-remote-interface copied to clipboard

Handle remote closed

Open johns10 opened this issue 3 years ago • 0 comments

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.

johns10 avatar Mar 08 '22 00:03 johns10