================ @@ -510,8 +510,9 @@ def start(self): self._thread.start() def stop(self): - self._thread.join() - self._thread = None + if self._thread is not None: ---------------- jimingham wrote: Ah, cool. https://github.com/llvm/llvm-project/pull/99736