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