Commit e6b0e3f4 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gaston

Fixed concurrency issue.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@688 b35dd754-fafc-0310-a699-88a17e54d16e
parent 8f10ab8e
......@@ -59,7 +59,7 @@ public class SessionManager extends BasicModule implements ConnectionCloseListen
private int conflictLimit;
private Random randomResource = new Random();
private Map<String, Session> preAuthenticatedSessions = new HashMap<String, Session>();
private Map<String, Session> preAuthenticatedSessions = new ConcurrentHashMap<String, Session>();
/**
* Returns the instance of <CODE>SessionManagerImpl</CODE> being used by the XMPPServer.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment