Skip to content

Commit aa17d08

Browse files
committed
Change to safer option
1 parent 29556b6 commit aa17d08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Packages/StreamVideo/Runtime/Core/LowLevelClient/WebSockets/SfuWebSocket.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ private void OnHandleJoinResponse(JoinResponse joinResponse)
340340
{
341341
ConnectionState = ConnectionState.Connected;
342342

343-
_connectUserTaskSource.SetResult(true);
343+
_connectUserTaskSource.TrySetResult(true);
344344
_connectUserTaskSource = null;
345345

346346
JoinResponse?.Invoke(joinResponse);

0 commit comments

Comments
 (0)