forked from platformio/platformio-core
Wait for an output from debug server
This commit is contained in:
1 parent
52689bc5e8
commit
352a0b7377
1 file changed
+4
-1
@@ -131,7 +131,10 @@ class DebugServer(BaseProcess):
|
||||
while (
|
||||
not self._process_ended
|
||||
and elapsed < timeout
|
||||
and not (self._last_activity < (time.time() - ready_delay))
|
||||
and (
|
||||
not self._last_activity
|
||||
or not (self._last_activity < (time.time() - ready_delay))
|
||||
)
|
||||
):
|
||||
yield self.async_sleep(delay)
|
||||
elapsed += delay
|
||||
|
||||
Reference in new issue
Block a user