Join background thread first on stop()

This commit is contained in:
Jakob 2019-08-20 17:06:39 +02:00
parent eea986304e
commit 12fd93ce6b
1 changed files with 1 additions and 1 deletions

View File

@ -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/*/")