Skip to content

Commit

Permalink
Fix too many open files issue (akkadotnet#3630)
Browse files Browse the repository at this point in the history
  • Loading branch information
yongjiema committed Oct 24, 2018
1 parent 771103c commit 78e1ef8
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 78e1ef8

Please sign in to comment.