You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I encountered an issue where the RoomDisconnectedEvent is triggered twice with different reasons when calling room.disconnect().
To Reproduce
Steps to reproduce:
run example app,
Navigate to the room page.
Click the button to disconnect, which calls room.disconnect(). Expected behavior
The RoomDisconnectedEvent should only be triggered once upon disconnection, with a consistent event.reason.
Observed behavior
The RoomDisconnectedEvent is triggered twice, with each instance showing a different reason:
First event: DisconnectReason.disconnected
Second event: DisconnectReason.clientInitiated
Describe the bug
I encountered an issue where the RoomDisconnectedEvent is triggered twice with different reasons when calling room.disconnect().
To Reproduce
Steps to reproduce:
run example app,
Navigate to the room page.
Click the button to disconnect, which calls room.disconnect().
Expected behavior
The RoomDisconnectedEvent should only be triggered once upon disconnection, with a consistent event.reason.
Observed behavior
The RoomDisconnectedEvent is triggered twice, with each instance showing a different reason:
First event: DisconnectReason.disconnected
Second event: DisconnectReason.clientInitiated
Platform information
The text was updated successfully, but these errors were encountered: