public void DelSession(EditSession session) { lock (CobaltSessionManager.m_syncObj) { // clean up session.Dispose(); m_sessions.Remove(session.SessionId); } }