mirror of
https://github.com/xfgryujk/blivedm.git
synced 2024-12-25 20:30:08 +08:00
修复开放平台项目可能在close之前停止项目心跳的问题
This commit is contained in:
parent
b6e9578cb2
commit
356837c136
@ -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
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user