diff --git a/pysyncobj/syncobj.py b/pysyncobj/syncobj.py index 9309551..2a43c7a 100644 --- a/pysyncobj/syncobj.py +++ b/pysyncobj/syncobj.py @@ -304,10 +304,7 @@ def destroy_synchronous(self): Correctly destroy SyncObj. Stop autoTickThread, close connections, etc. and ensure the threads are gone. """ self.destroy() - count = 0 - while self.tick_thread_alive(): - time.sleep(.1) - count += 1 + self.__thread.join() def waitReady(self): """