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:
parent
ebbde0ccde
commit
2b2dbb114b
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user