Skip to content

Commit c7e4c3c

Browse files
committed
back out pointless change introduced in bug 26079
ClosingLoop already catches Exception
1 parent bd0079e commit c7e4c3c

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

projects/client/RabbitMQ.Client/src/client/impl/ConnectionBase.cs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -670,15 +670,7 @@ public void MainLoop()
670670
// connection closes.
671671
if (shutdownCleanly)
672672
{
673-
try
674-
{
675-
ClosingLoop();
676-
} catch (SocketException se)
677-
{
678-
// means that socket was closed when frame handler
679-
// attempted to use it. Since we are shutting down,
680-
// ignore it.
681-
}
673+
ClosingLoop();
682674
}
683675

684676
FinishClose();

0 commit comments

Comments
 (0)