e1608: do not fight a hardware trigger, stop the scan on a failed connect, daemon drop timer in the mock

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Martino FerrariandClaude Sonnet 4.6 committed 2026-11-01 10:01:38 +01:00
1 parent 3093568d11
commit 6245811699
5 files changed
+24 -4

No files matched your search

+3 -1
View File
@@ -327,7 +327,9 @@ class Board:
self.first_conn = time.monotonic()
close_quietly(old)
if first and self.args.drop_after > 0:
threading.Timer(self.args.drop_after, self.drop).start()
timer = threading.Timer(self.args.drop_after, self.drop)
timer.daemon = True
timer.start()
try:
while True:
b = conn.recv(1)