Properly close client on clicking leave.

This commit is contained in:
Håvar Aambø Fosstveit
2019-11-04 23:31:10 +01:00
parent d9e712ec04
commit fd1e53a895
+2
View File
@@ -208,6 +208,8 @@ export default class RoomClient
this._recvTransport.close();
store.dispatch(stateActions.setRoomState('closed'));
window.location = '/';
}
_startKeyListener()