mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
Run libc atexit callbacks
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user