mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: also clean session collections if session already closed
parent
6c90d6426b
commit
4cd1feea18
|
@ -620,6 +620,8 @@ public abstract class SessionManager {
|
||||||
log.error("Error recording 'sessionDestroyed' event for session {}: {} - {}", session.getSessionId(),
|
log.error("Error recording 'sessionDestroyed' event for session {}: {} - {}", session.getSessionId(),
|
||||||
e.getClass().getName(), e.getMessage());
|
e.getClass().getName(), e.getMessage());
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
this.cleanCollections(session.getSessionId());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mediaNodeId != null) {
|
if (mediaNodeId != null) {
|
||||||
|
|
Loading…
Reference in New Issue