Browse Source

Fix errors during web client shutdown

pull/165/head
Ionite 1 year ago
parent
commit
6708d2792c
No known key found for this signature in database
  1. 2
      StabilityMatrix.Core/Inference/ComfyClient.cs

2
StabilityMatrix.Core/Inference/ComfyClient.cs

@ -261,7 +261,7 @@ public class ComfyClient : InferenceClientBase
public override async Task CloseAsync(CancellationToken cancellationToken = default)
{
await webSocketClient
.StopOrFail(WebSocketCloseStatus.NormalClosure, string.Empty)
.Stop(WebSocketCloseStatus.NormalClosure, string.Empty)
.ConfigureAwait(false);
}

Loading…
Cancel
Save