Run libc atexit callbacks

This commit is contained in:
Jarred Sumner
2023-12-12 17:34:19 -08:00
parent 5787350243
commit 4fec7f84c8

View File

@@ -93,7 +93,7 @@ pub fn exit(code: u8) noreturn {
runExitCallbacks();
Output.flush();
std.mem.doNotOptimizeAway(&Bun__atexit);
std.c._exit(code);
std.c.exit(@intCast(code));
}
pub const AllocatorConfiguration = struct {