From 356837c136589b92fb2d9f2f26ad3ae1a338f39d Mon Sep 17 00:00:00 2001 From: John Smith Date: Tue, 5 Sep 2023 22:08:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=BC=80=E6=94=BE=E5=B9=B3?= =?UTF-8?q?=E5=8F=B0=E9=A1=B9=E7=9B=AE=E5=8F=AF=E8=83=BD=E5=9C=A8close?= =?UTF-8?q?=E4=B9=8B=E5=89=8D=E5=81=9C=E6=AD=A2=E9=A1=B9=E7=9B=AE=E5=BF=83?= =?UTF-8?q?=E8=B7=B3=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- blivedm/clients/open_live.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/blivedm/clients/open_live.py b/blivedm/clients/open_live.py index dbb76f6..ad18c25 100644 --- a/blivedm/clients/open_live.py +++ b/blivedm/clients/open_live.py @@ -218,10 +218,6 @@ class OpenLiveClient(ws_base.WebSocketClientBase): """ 定时发送项目心跳包的回调 """ - if not self.is_running: - self._game_heartbeat_timer_handle = None - return - self._game_heartbeat_timer_handle = asyncio.get_running_loop().call_later( self._game_heartbeat_interval, self._on_send_game_heartbeat )