Closed tlunter closed 9 years ago
:+1:
But really we want the client to restart, no? In this case the process is still up and EM may be gone, but the rest of the app is still running.
@dblock won't EM.stop
end the EM.run
? I'm not very in tune with eventmachine. My intent was for the start
method to return, thus letting the client do whatever it wants rather than forcing this to live on forever.
I have a repro and opened https://github.com/aki017/slack-ruby-gem/issues/24, lets talk about it there.
Rather than just set the websocket to
nil
, we should stop the EM event loop entirely. Otherwise processes will just sit and nothing will be coming through.