We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 85a5cb6 + 1c768ca commit 382841bCopy full SHA for 382841b
webserver/HuConJsonRpc.py
@@ -150,6 +150,12 @@ def _run_file(cls, filename):
150
151
cls._current_proc.poll()
152
153
+ # Wait until the queue is empty or the timout occured
154
+ timeout = 0
155
+ while (cls._log.empty() is False) and (timeout < 30):
156
+ time.sleep(0.1)
157
+ timeout = timeout + 1
158
+
159
# ----------------------------------------------------------------------------------------------------------------------
160
# JSON RPC API Methods
161
0 commit comments