Properly close client on clicking leave.
This commit is contained in:
@@ -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