Join background thread first on stop()
This commit is contained in:
parent
eea986304e
commit
12fd93ce6b
|
@ -100,8 +100,8 @@ class CampAtmo:
|
|||
|
||||
def stop(self):
|
||||
self.stopped = True
|
||||
self.background_thread.join(1.2)
|
||||
self.lines_thread.join(2)
|
||||
self.background_thread.join(0.5)
|
||||
|
||||
def load_sounds(self):
|
||||
type_names = glob("samples/*/")
|
||||
|
|
Loading…
Reference in New Issue