From b02e484013ede3ed8d43ad19c177af2afb0bbfc8 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Sun, 23 Mar 2025 12:55:52 +0800 Subject: fix: std::quick_exit don't exist in osx for some reason that don't work in macos, but _Exit does.. --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main.cpp b/src/main.cpp index 13ed842..e23877c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -13,7 +13,7 @@ static void handleSignal(int sig) { switch (sig) { default: // quick_exit(less cleanup) if the cleanup took too long - signal(SIGALRM, [](int) { std::quick_exit(1); }); + signal(SIGALRM, [](int) { std::_Exit(1); }); alarm(5); std::exit(0); -- cgit v1.2.3