M
M
Max Mabius2019-01-17 22:31:55
Socket.io
Max Mabius, 2019-01-17 22:31:55

How to delete a socket and events with them?

I thought that with `socket.on('disconnect'...` the socket itself is cut out, but it turns out that it continues to appear on events, I tried to shove it into `socket.on('disconnect',` socket.removeAllListeners() still remains? What for the game, pls help...

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question