Merge branch 'rel/1.0.0-alpha2' into dev

This commit is contained in:
BrennanConroy 2017-09-15 11:05:04 -07:00
commit 0159d45f54
1 changed files with 8 additions and 2 deletions

View File

@ -51,9 +51,15 @@ namespace Microsoft.AspNetCore.Sockets.Internal.Transports
{
_logger.SocketOpened(_connection.ConnectionId);
await ProcessSocketAsync(ws);
try
{
await ProcessSocketAsync(ws);
}
finally
{
_logger.SocketClosed(_connection.ConnectionId);
}
}
_logger.SocketClosed(_connection.ConnectionId);
}
public async Task ProcessSocketAsync(WebSocket socket)