Skip to content

Commit 102139c

Browse files
committed
_exit
1 parent 8ab827f commit 102139c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lldb/test/API/api/multiple-debuggers/multi-process-driver.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,5 +299,6 @@ int main (int argc, char **argv)
299299
// We do not call SBDebugger::Terminate() here because it will destroy
300300
// data that might be being used by threads that are still running. Which
301301
// would change the timeout into an unrelated crash.
302-
exit (1);
302+
// _exit instead of exit, to skip more things that could cause a crash.
303+
_exit(1);
303304
}

0 commit comments

Comments
 (0)