diff options
Diffstat (limited to 'src/slskd/Relay/RelayClient.cs')
| -rw-r--r-- | src/slskd/Relay/RelayClient.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Relay/RelayClient.cs b/src/slskd/Relay/RelayClient.cs index cbcde3c4..49935b4c 100644 --- a/src/slskd/Relay/RelayClient.cs +++ b/src/slskd/Relay/RelayClient.cs @@ -279,7 +279,7 @@ namespace slskd.Relay // if the client is attempting a connection, cancel it it's going to be dropped when we create a new instance, but // we need the retry loop around connection to stop. - StartCancellationTokenSource?.Cancel(); + StartCancellationTokenSource?.Cancel(swallowObjectDisposedException: true); HubConnection = new HubConnectionBuilder() .WithUrl($"{options.Relay.Controller.Address.TrimEnd('/')}/hub/relay", builder => |
