core: Close chats when logging out, before disconnecting
Otherwise rooms cannot be exited properly. Also, no need to call `_tearDown` in `logOut` when `connection.disconnect` gets called since it will get called afterwards in the handler.
Showing
Please register or sign in to comment