Commit 0b8113ba authored by Guillaume Seguin's avatar Guillaume Seguin

Explain previous commit in the code

parent ecdb8d17
......@@ -1312,6 +1312,8 @@ class PronterWindow(MainWindow, pronsole.pronsole):
if not self.statuscheck:
break
time.sleep(0.25)
# Safeguard: if system time changes and goes back in the past,
# we could get stuck almost forever
wait_time += 0.25
if wait_time > self.monitor_interval:
break
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment