Exemplo n.º 1
0
        public async Task DisposeAsync()
        {
            await _session.StopHostAsync();

            _sessionProvider.Dispose();
            _brokerConnector.Dispose();
        }
Exemplo n.º 2
0
 public void Dispose()
 {
     _brokerConnector.Dispose();
 }
 private void DisposeInstance(IRHostBrokerConnector brokerConnector)
 {
     brokerConnector.Dispose();
     _instanceLazy = null;
 }
Exemplo n.º 4
0
        public override async Task DisposeAsync()
        {
            await base.DisposeAsync();

            _brokerConnector.Dispose();
        }