We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4533b56 commit f2f5f79Copy full SHA for f2f5f79
src/initialization.jl
@@ -47,7 +47,7 @@ function __init__()
47
48
# ensure that operations executed by the REPL back-end finish before returning,
49
# because displaying values happens on a different task
50
- if isdefined(Base, :active_repl_backend)
+ if isdefined(Base, :active_repl_backend) && !isnothing(Base.active_repl_backend)
51
push!(Base.active_repl_backend.ast_transforms, synchronize_metal_tasks)
52
end
53
0 commit comments