We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ded969 commit f40747cCopy full SHA for f40747c
src/System.ServiceModel.NetFramingBase/src/System/ServiceModel/Channels/ConnectionPool.cs
@@ -632,9 +632,13 @@ protected override void AbortItem(IConnection item)
632
item.Abort();
633
}
634
635
- protected override ValueTask CloseItemAsync(IConnection item, TimeSpan timeout)
+ protected override async ValueTask CloseItemAsync(IConnection item, TimeSpan timeout)
636
{
637
- return item.CloseAsync(timeout);
+ try
638
+ {
639
+ await item.CloseAsync(timeout);
640
+ }
641
+ catch (Exception) { }
642
643
644
public virtual bool IsCompatible(IConnectionOrientedTransportChannelFactorySettings settings)
0 commit comments