修复HDC死循环导致消息发送慢的bug

Signed-off-by: deveco_xdevice <liguangjie1@huawei.com>
This commit is contained in:
deveco_xdevice 2023-05-27 14:30:01 +08:00
parent f9edf2f8b8
commit 98fb6aeab4

View File

@ -192,6 +192,7 @@ class HdcMonitor:
self.main_hdc_connection)
self.list_targets()
time.sleep(2)
except (HdcError, Exception) as _:
self.handle_exception_monitor_loop()
break