-
Notifications
You must be signed in to change notification settings - Fork 47
Description
Hi, I'm trying to use this library to connect to a local instance of Chrome. I can connect, send messages, and receive responses, but when I call close on the driver, it gets stuck in the :closing state so the CloseEvent is never emitted.
My main issue is that I'm not quite sure what is supposed to happen at that point. It appears that this library is setting the status to closing and sending a close frame. I'm using tcpdump and it appears that Chrome is responding and my client is sending one more message after that.
My first thought is that perhaps I need to do something with the socket to parse and process that last message, but when I read it I get an EOFError, I assume because Chrome already closed its end of the socket.
I'm not quite sure where to go next or what to try, any thoughts? I'm using version 0.6.5 of the gem and the driver version being used is hybi-13.