Open timholy opened 1 month ago
2 seconds might not be long enough? You are relying on an awful lot of unpredictable behavior putting that behind a timer. Maybe you can use an atreplinit
to signal an Event right after the global gets assigned?
julia +beta -i --startup=no -e 'using InteractiveUtils, REPL; @async(Base.run_main_repl(true, true, false, true, false)); while !isdefined(Base, :active_repl) sleep(1); end; @show Base.active_repl'
hangs "forever." I don't think it's an amount-of-delay issue.
xref https://github.com/timholy/CodeTracking.jl/actions/runs/10239765827/job/28325729062?pr=130
The error doesn't happen on Julia 1.10 and earlier.