Skip to content
This repository has been archived by the owner on Dec 18, 2018. It is now read-only.

Commit

Permalink
Avoid some closure allocations in SocketOutput
Browse files Browse the repository at this point in the history
  • Loading branch information
halter73 committed Nov 13, 2015
1 parent 59cdd60 commit fc346f7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Microsoft.AspNet.Server.Kestrel/Http/SocketOutput.cs
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ public void DoWriteIfNeeded()
var _this = (WriteContext)state;
_this.WriteStatus = status;
_this.WriteError = error;
DoShutdownIfNeeded();
_this.DoShutdownIfNeeded();
}, this);
}

Expand All @@ -316,9 +316,9 @@ public void DoShutdownIfNeeded()
var _this = (WriteContext)state;
_this.ShutdownSendStatus = status;
Self._log.ConnectionWroteFin(Self._connectionId, status);
_this.Self._log.ConnectionWroteFin(Self._connectionId, status);
DoDisconnectIfNeeded();
_this.DoDisconnectIfNeeded();
}, this);
}

Expand Down

0 comments on commit fc346f7

Please sign in to comment.