commented empty session deletion

pull/583/head
Ajay Kumar 2020-12-29 05:58:28 +05:30
parent 3e95c702d0
commit 9baff15b65
2 changed files with 4 additions and 5 deletions

View File

@ -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();
}

View File

@ -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();