X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/6465356a983ac139f81d3b7913cdb548477c346c..2650fa9ee9806a25904566dea091b1225d74f063:/stdlib/FreeBSD/exit.c diff --git a/stdlib/FreeBSD/exit.c b/stdlib/FreeBSD/exit.c index ba66bc6..e61834e 100644 --- a/stdlib/FreeBSD/exit.c +++ b/stdlib/FreeBSD/exit.c @@ -55,11 +55,3 @@ extern void _tlv_exit(); void exit(int status) { -#if !TARGET_IPHONE_SIMULATOR && (__i386__ || __x86_64__) - _tlv_exit(); // C++11 requires thread_local objects to be destroyed before global objects -#endif - __cxa_finalize(NULL); - if (__cleanup) - (*__cleanup)(); - __exit(status); -}