Fix manage webrtc room id

This commit is contained in:
gparant 2020-05-08 21:17:52 +02:00
parent 59127534ac
commit 6dc309db34

View File

@ -205,7 +205,11 @@ export class IoSocketController {
}));
//disconnect webrtc room
if(!Client.webRtcRoomId){
return;
}
Client.leave(Client.webRtcRoomId);
delete Client.webRtcRoomId;
}
/**