From 4b53875718bd1643412ac29a4b5a6788fde7a479 Mon Sep 17 00:00:00 2001 From: Jicheng Lu <103353@smsassist.com> Date: Mon, 5 May 2025 16:47:01 -0500 Subject: [PATCH] change status --- .../Websocket/Chat/BotSharpRealtimeSession.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Infrastructure/BotSharp.Core.Realtime/Websocket/Chat/BotSharpRealtimeSession.cs b/src/Infrastructure/BotSharp.Core.Realtime/Websocket/Chat/BotSharpRealtimeSession.cs index b4b36620..5798a8ca 100644 --- a/src/Infrastructure/BotSharp.Core.Realtime/Websocket/Chat/BotSharpRealtimeSession.cs +++ b/src/Infrastructure/BotSharp.Core.Realtime/Websocket/Chat/BotSharpRealtimeSession.cs @@ -68,7 +68,7 @@ public class BotSharpRealtimeSession : IDisposable { if (_websocket.State == WebSocketState.Open) { - await _websocket.CloseAsync(WebSocketCloseStatus.NormalClosure, null, CancellationToken.None); + await _websocket.CloseAsync(WebSocketCloseStatus.Empty, null, CancellationToken.None); } }