Skip to content

Commit 93b4062

Browse files
authored
Ignored dispose error thrown when connection is already closed (SubnauticaNitrox#2706)
1 parent 11ea965 commit 93b4062

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Nitrox.Server.Subnautica/Services/ServersManagementService.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ private bool ShouldIgnoreException(Exception ex)
155155
{
156156
RpcException { Status.StatusCode: StatusCode.Unavailable or StatusCode.Cancelled } => true,
157157
OperationCanceledException => true,
158+
ObjectDisposedException { ObjectName: nameof(StreamingHubClient) } => true,
158159
_ => false
159160
};
160161
}

0 commit comments

Comments
 (0)