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);
        }
Beispiel #2
0
 public override Task CloseAsync()
 {
     _clientLinkManager.Close();
     return(SendLinkManager.CloseAsync());
 }