diff --git a/tests/client.py b/tests/client.py index 13aea57..a3328c7 100644 --- a/tests/client.py +++ b/tests/client.py @@ -416,6 +416,8 @@ def _on_disconnect(self, error_code: SoraSignalingErrorCode, message: str) -> No if self._fake_video_thread is not None: self._fake_video_thread.join(timeout=10) + self._sora = None + def _on_ws_close(self, code: int, reason: str) -> None: print(f"WebSocket closed: code={code} reason={reason}") self._ws_close = True