Skip to content

Commit 150d184

Browse files
authored
call exit so our atexit hooks run for executables (#91)
1 parent 2d4e449 commit 150d184

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scripts/juliac-buildscript.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ function _main(argc::Cint, argv::Ptr{Ptr{Cchar}})::Cint
7474
setglobal!(Base, :PROGRAM_FILE, args[1])
7575
popfirst!(args)
7676
append!(Base.ARGS, args)
77-
return Main.main(args)
77+
exit(Main.main(args))
7878
end
7979

8080
let usermod

0 commit comments

Comments
 (0)