Skip to content

Commit

Permalink
Fix too many open files issue (#3630) (#3631)
Browse files Browse the repository at this point in the history
  • Loading branch information
yongjiema authored and Aaronontheweb committed Oct 25, 2018
1 parent 0d9c1db commit a0c44f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/Akka/IO/TcpConnection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,7 @@ private bool HasStatus(ConnectionStatus connectionStatus)
protected override void PostStop()
{
if (Socket.Connected) Abort();
else CloseSocket();

if (IsWritePending)
{
Expand Down

0 comments on commit a0c44f1

Please sign in to comment.