Put SessionProperties into Storage if a new session is created in the KurentoSessionManager

pull/87/head
Thomas Joußen 2018-07-09 16:54:30 +02:00
parent 5be0d7c660
commit 32329e1177
1 changed files with 1 additions and 0 deletions

View File

@ -447,6 +447,7 @@ public class KurentoSessionManager extends SessionManager {
kcProvider.destroyWhenUnused(), this.CDR, this.openviduConfig);
KurentoSession oldSession = (KurentoSession) this.sessionStorage.putSessionIfAbsent(sessionId, session);
this.sessionStorage.putSessionPropertiesIfAbsent(sessionId, sessionProperties);
if (oldSession != null) {
log.warn("Session '{}' has just been created by another thread", sessionId);
return;