mirror of https://github.com/OpenVidu/openvidu.git
commented empty session deletion
parent
3e95c702d0
commit
9baff15b65
|
@ -270,10 +270,10 @@ public class KurentoSessionManager extends SessionManager {
|
|||
if (session.isClosed()) {
|
||||
return false;
|
||||
}
|
||||
log.info("No more participants in session '{}', removing it and closing it",
|
||||
sessionId);
|
||||
this.closeSessionAndEmptyCollections(session, reason, true);
|
||||
sessionClosedByLastParticipant = true;
|
||||
// log.info("No more participants in session '{}', removing it and closing it",
|
||||
// sessionId);
|
||||
// this.closeSessionAndEmptyCollections(session, reason, true);
|
||||
// sessionClosedByLastParticipant = true;
|
||||
} finally {
|
||||
session.closingLock.writeLock().unlock();
|
||||
}
|
||||
|
|
|
@ -102,7 +102,6 @@ public class SessionRestController {
|
|||
|
||||
log.info("REST API: POST {}/sessions {}", RequestMappings.API, params != null ? params.toString() : "{}");
|
||||
String remoteAddress = request.getHeader("X-Forwarded-For");
|
||||
log.info("###### REMOTE ADDRESS {}", remoteAddress);
|
||||
SessionProperties sessionProperties;
|
||||
try {
|
||||
sessionProperties = getSessionPropertiesFromParams(params).build();
|
||||
|
|
Loading…
Reference in New Issue