Fixing write2.Dispose() to avoid creating closure

This commit is contained in:
Louis DeJardin 2015-07-24 15:47:31 -07:00
parent 17a846ad8e
commit baeb3e7962
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ namespace Microsoft.AspNet.Server.Kestrel.Http
socket,
(write2, status, error, state) =>
{
write.Dispose();
write2.Dispose();
((UvTcpHandle)state).Dispose();
},
socket);