================
@@ -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:
----------------
rocallahan wrote:
This is not an LLDB stop or an LLDB thread. `thread_` is the `MockGdbServer`'s
Python worker thread, and `stop()` is the method you call to shut down the
server. I'm making this method work in the case where you call `stop()` before
`start()` has been called, in the `GDBProxyTestBase.tearDown()` test
scaffolding.
https://github.com/llvm/llvm-project/pull/99736
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits