Esempio n. 1
0
        public void Stop()
        {
            _cancellationTokenSource.Cancel();
            if (_diags != null)
            {
                _diags.Shutdown();
            }

            if (_manager != null)
            {
                _manager.Shutdown();
            }
        }
Esempio n. 2
0
        public void Stop()
        {
            WaitForStartupToComplete();

            _cancellationTokenSource.Cancel();
            if (_diags != null)
            {
                _diags.Shutdown();
            }

            if (_manager != null)
            {
                _manager.Shutdown();
            }
        }