I am on macOS running Julia 1.11.5. I have Revise 3.8.0 in my global environment and the following in ~/.config/startup.jl:
atreplinit() do repl
try
@info "importing Revise"
@eval using Revise
catch e
@error "error while importing Revise" e
end
end
If I open julia in the terminal and type exit(), there is a delay of many seconds before julia actually exits. It looks as though it's hanging, but it eventually exits. However, if I comment out the try block in startup.jl, julia exits immediately upon exit().
There is nothing else in startup.jl.
What's happening here?