Exemplo n.º 1
0
 protected override void OnStop()
 {
     if (_statsd != null)
     {
         _statsd.Stop();
         _statsd.ShutdownWaitHandle.WaitOne();
     }
 }
Exemplo n.º 2
0
        protected override void OnStop()
        {
            if (_statsd != null)
            {
                _statsd.Stop();
                _statsd.ShutdownWaitHandle.WaitOne();
            }

            if (_config != null)
            {
                _config.Dispose();
                _config = null;
            }
        }
Exemplo n.º 3
0
        public bool Stop(HostControl host)
        {
            if (_statsd != null)
            {
                _statsd.Stop();
                _statsd.ShutdownWaitHandle.WaitOne();
            }

            if (_config != null)
            {
                _config.Dispose();
                _config = null;
            }

            return(true);
        }