mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
dump used session, currently no recycling as workaround for server freeze bug
This commit is contained in:
parent
662aed72b9
commit
dfa3264e93
@ -235,14 +235,17 @@ bool SessionManager::releaseSession(int requestHandleSession)
|
||||
mWorkingMutex.unlock();
|
||||
return false;
|
||||
}
|
||||
|
||||
Session* session = it->second;
|
||||
|
||||
|
||||
// delete session, not reuse as workaround for server freeze bug
|
||||
mRequestSessionMap.erase(requestHandleSession);
|
||||
delete session;
|
||||
mWorkingMutex.unlock();
|
||||
return true;
|
||||
|
||||
|
||||
// check if dead locked
|
||||
if (session->tryLock()) {
|
||||
session->unlock();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user