Loading src/session.cpp +7 −1 Original line number Diff line number Diff line Loading @@ -502,7 +502,13 @@ const authdb::SessionData *authdb::ClusterSession::getSession(uuid::uuid session imported->_username = username; imported->setGPOResults(gpo_results); std::lock_guard<std::mutex> guard(_lock); removeLocal(sessionid); SessionData *local = findLocal(sessionid); if (local) { delete imported; return local; } appendLocal(imported); return imported; } Loading Loading
src/session.cpp +7 −1 Original line number Diff line number Diff line Loading @@ -502,7 +502,13 @@ const authdb::SessionData *authdb::ClusterSession::getSession(uuid::uuid session imported->_username = username; imported->setGPOResults(gpo_results); std::lock_guard<std::mutex> guard(_lock); removeLocal(sessionid); SessionData *local = findLocal(sessionid); if (local) { delete imported; return local; } appendLocal(imported); return imported; } Loading