示例#1
0
 public void Dispose()
 {
     if (_connector != null)
     {
         _connector.Dispose();
     }
 }
        public bool Stop(HostControl host)
        {
            foreach (var connector in _connectors)
            {
                connector.Stop();
            }

            _db.Dispose();
            _signal.Set();
            Logger.InfoFormat("ZKTecoServiceControl stops.");
            return(true);
        }