示例#1
0
 public void Dispose()
 {
     IsRun = false;
     OnServerCountChange = null;
     OnDeadServer        = null;
     mainThread          = null;
     _ServerManage       = null;
 }
示例#2
0
 public static ServersManage GetInstance()
 {
     if (_ServerManage == null)
     {
         lock (_lockobj)
         {
             if (_ServerManage == null)
             {
                 _ServerManage = new ServersManage();
             }
         }
     }
     return(_ServerManage);
 }