-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
I've noticed if I access the hijacked controller from directly (and not through JS, where I call socket.close), the resource will sit loading forever.
How can I go about properly closing a socket from the hijacked controller? I've tried calling the close method, but run into an IOError issue. Is the close method the proper way of closing a socket?
My code is very similar to what you used for your chat example: https://github.com/ngauthier/sock-chat/blob/master/app/controllers/chat_controller.rb
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels