public static void Initialize() { lock (_lockObj) { DatabaseMethods db = new DatabaseMethods(); m_exchanges = db.GetFixExchangeInfo(); m_todayActiveSessions = db.GetAllGroupsSessions(); RefreshActiveSessions(); db = null; } }
public static void Initialize() { lock (_lockObj) { DatabaseMethods db = new DatabaseMethods(); m_exchanges = db.GetFixExchangeInfo(); m_todayActiveSessions = db.GetAllGroupsSessions(); RefreshActiveSessions(); db = null; } }