Example #1
0
 public void AddSession(AbstractEditSession session)
 {
     lock (_syncObj)
     {
         _sessions.Add(session.SessionId, session);
     }
 }
Example #2
0
 public void DelSession(AbstractEditSession session)
 {
     lock (_syncObj)
     {
         // Clean up
         session.Dispose();
         _sessions.Remove(session.SessionId);
     }
 }