[Bug] Reset DisconnectedCause before entering offline mode

Options

Hey, we have discovered a bug. When a user gets disconnected from the server for the first time and then creates an offline room, subsequently leaving that room, the OnDisconnected event is triggered with the same DisconnectCause as the previous one. As a result, our error pop-up is displayed even when in offline mode, which goes against our design.

After investigating the source code, we have identified that the issue may arise from the DisconnectedCause property of the LoadBalancingClient class not being reset. Is it possible to manually reset the DisconnectedCause property, or is there an alternative approach to handle this?

Thank you.