protected override async Task OnCloseAsync()
        {
            // Close any ReceiveHandler (this is safe if there is none) and the ReceiveLinkManager in parallel.
            await ReceiveHandlerClose().ConfigureAwait(false);

            clientLinkManager.Close();
            await ReceiveLinkManager.CloseAsync().ConfigureAwait(false);
        }
Ejemplo n.º 2
0
 public override Task CloseAsync()
 {
     _clientLinkManager.Close();
     return(SendLinkManager.CloseAsync());
 }