mirror of
https://gitee.com/openharmony/testfwk_xdevice
synced 2025-02-17 08:47:57 +00:00
修复HDC死循环导致消息发送慢的bug
Signed-off-by: deveco_xdevice <liguangjie1@huawei.com>
This commit is contained in:
parent
f9edf2f8b8
commit
98fb6aeab4
@ -192,6 +192,7 @@ class HdcMonitor:
|
|||||||
self.main_hdc_connection)
|
self.main_hdc_connection)
|
||||||
|
|
||||||
self.list_targets()
|
self.list_targets()
|
||||||
|
time.sleep(2)
|
||||||
except (HdcError, Exception) as _:
|
except (HdcError, Exception) as _:
|
||||||
self.handle_exception_monitor_loop()
|
self.handle_exception_monitor_loop()
|
||||||
break
|
break
|
||||||
|
Loading…
x
Reference in New Issue
Block a user