mirror of
https://github.com/Z3Prover/z3
synced 2025-04-27 19:05:51 +00:00
fix #5059: exit straight away on hard timeout
dont run atexit handlers as its not safe to do so with multiple threads code might be inside malloc, for example, and glibc tries to cleanup its heap state with an atexit handler
This commit is contained in:
parent
484c83e6c0
commit
fc558d3946
5 changed files with 5 additions and 5 deletions
|
@ -84,7 +84,7 @@ static void STD_CALL on_ctrl_c(int) {
|
|||
|
||||
static void on_timeout() {
|
||||
display_statistics();
|
||||
exit(0);
|
||||
_Exit(0);
|
||||
}
|
||||
|
||||
static unsigned parse_opt(std::istream& in, opt_format f) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue