diff --git a/tests/lldb_test.cc b/tests/lldb_test.cc index dd86b0f..597f086 100644 --- a/tests/lldb_test.cc +++ b/tests/lldb_test.cc @@ -98,9 +98,7 @@ int main() { } }); - std::thread debug_thread([&] { - Debug::LLDB::get().start(exec_path.string(), "", breakpoints); - }); + Debug::LLDB::get().start(exec_path.string(), "", breakpoints); for(;;) { if(exited) { @@ -139,6 +137,4 @@ int main() { } Debug::LLDB::get().cancel(); - - debug_thread.join(); }