Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion SteamKit2/SteamKit2/Networking/Steam3/WebSocketContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,11 @@ async Task RunCore(HttpMessageInvoker invoker, TimeSpan connectionTimeout, Cance
{
await socket.CloseAsync(WebSocketCloseStatus.NormalClosure, null, default).ConfigureAwait(false);
}
catch (Win32Exception ex)
catch ( ObjectDisposedException ex )
{
connection.log.LogDebug( nameof(WebSocketContext), "Error closing connection: {0}", ex.Message);
}
catch ( Win32Exception ex )
{
connection.log.LogDebug( nameof(WebSocketContext), "Error closing connection: {0}", ex.Message);
}
Expand Down