protected override void OnStop() { if (_statsd != null) { _statsd.Stop(); _statsd.ShutdownWaitHandle.WaitOne(); } }
protected override void OnStop() { if (_statsd != null) { _statsd.Stop(); _statsd.ShutdownWaitHandle.WaitOne(); } if (_config != null) { _config.Dispose(); _config = null; } }
public bool Stop(HostControl host) { if (_statsd != null) { _statsd.Stop(); _statsd.ShutdownWaitHandle.WaitOne(); } if (_config != null) { _config.Dispose(); _config = null; } return(true); }