Properly tear down when logging out or disconnecting.
Remove interval handler and the user activity handler. Make sure the connection is reset when logging out. Also removed the reconnectTimeout, instead debounce the reconnect method by 1 second.
Showing
Please register or sign in to comment