public void Stop() { _cancellationTokenSource.Cancel(); if (_diags != null) { _diags.Shutdown(); } if (_manager != null) { _manager.Shutdown(); } }
public void Stop() { WaitForStartupToComplete(); _cancellationTokenSource.Cancel(); if (_diags != null) { _diags.Shutdown(); } if (_manager != null) { _manager.Shutdown(); } }