mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: remove IllegalStateException string filter for ghost participants
parent
96907f2c7f
commit
6ae3186c1e
|
@ -130,11 +130,8 @@ public class RpcNotificationService {
|
||||||
participantPrivateId, e.getCause().getMessage());
|
participantPrivateId, e.getCause().getMessage());
|
||||||
|
|
||||||
// TODO: this is an ad-hoc fix to clean any ghost participant of sessions
|
// TODO: this is an ad-hoc fix to clean any ghost participant of sessions
|
||||||
if (e.getCause().getMessage() != null && e.getCause().getMessage().contains(
|
log.warn("Removing ghost participant with participant private id {}", participantPrivateId);
|
||||||
"has been closed and no method (apart from close()) may be called on a closed session")) {
|
this.rpcHandler.leaveRoomAfterConnClosed(participantPrivateId, null);
|
||||||
log.warn("Removing ghost participant with participant private id {}", participantPrivateId);
|
|
||||||
this.rpcHandler.leaveRoomAfterConnClosed(participantPrivateId, null);
|
|
||||||
}
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
log.error("Exception sending notification '{}': {} to participant with private id {}", method, params,
|
log.error("Exception sending notification '{}': {} to participant with private id {}", method, params,
|
||||||
|
|
Loading…
Reference in New Issue