1
0
mirror of https://github.com/craigerl/aprsd.git synced 2026-01-20 12:35:33 -05:00

ensure join has timeout

This commit is contained in:
Walter Boring 2025-12-09 17:06:23 -05:00
parent ebbde0ccde
commit 2b2dbb114b

View File

@ -36,7 +36,7 @@ class ServiceThreads:
for thread in self.threads:
thread.start()
def join(self):
def join(self, timeout=None):
"""Join all the threads in the list"""
for thread in self.threads:
thread.join()
thread.join(timeout=timeout)