Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
class TestMultipleSimultaneousDebuggers(TestBase):
NO_DEBUG_INFO_TESTCASE = True

# Sometimes times out on Linux, see https://github.com/llvm/llvm-project/issues/101162.
@skipIfLinux
@skipIfNoSBHeaders
@skipIfWindows
@skipIfHostIncompatibleWithTarget
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,9 @@ int main (int argc, char **argv)
NUMBER_OF_SIMULTANEOUS_DEBUG_SESSIONS);
}

SBDebugger::Terminate();
exit (1);
// We do not call SBDebugger::Terminate() here because it will destroy
// data that might be being used by threads that are still running. Which
// would change the timeout into an unrelated crash.
// _exit instead of exit, to skip more things that could cause a crash.
_exit(1);
}
Loading