Skip to content

Long delay when exiting julia if Revise has been imported #928

@dpo

Description

@dpo

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions