Describe the bug
Upon leaving, the socket object still exists and so does the player. This leads to memory leaks and the server slowly uses more of it's heap over time as users connect and disconnect
To Reproduce
Steps to reproduce the behavior:
Load page
Reload
Extra socket and player that doesn't need to exist
Describe the bug Upon leaving, the socket object still exists and so does the player. This leads to memory leaks and the server slowly uses more of it's heap over time as users connect and disconnect
To Reproduce Steps to reproduce the behavior:
Screenshots No need. Very simple.
Environment
Logs