mirror of
https://github.com/craigerl/aprsd.git
synced 2026-06-02 22:24:42 -04:00
ensure join has timeout
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user