Example #1
0
        public async Task DisconnectAsync(CancellationToken cancellationToken = default(CancellationToken))
        {
            await _sessionProvider.RemoveBrokerAsync(cancellationToken);

            ActiveConnection = null;
            SaveActiveConnectionToSettings();
        }