Properly close client on clicking leave.
This commit is contained in:
1 parent
d9e712ec04
commit
fd1e53a895
1 file changed
+2
@@ -208,6 +208,8 @@ export default class RoomClient
|
||||
this._recvTransport.close();
|
||||
|
||||
store.dispatch(stateActions.setRoomState('closed'));
|
||||
|
||||
window.location = '/';
|
||||
}
|
||||
|
||||
_startKeyListener()
|
||||
|
||||
Reference in new issue
Block a user