Skip to content

Commit 95dde87

Browse files
authored
Merge pull request #599 from JuliaParallel/jps/julia-1.12
precompile: Switch task cleanup assert to warn
2 parents d93dc52 + 96ce5c0 commit 95dde87

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/precompile.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
GC.gc()
1818
yield()
1919
end
20-
@assert length(state.thunk_dict) == 1
20+
if length(state.thunk_dict) > 1
21+
@warn "Precompile failed to clean up all tasks"
22+
end
2123

2224
# Halt scheduler
2325
notify(state.halt)

0 commit comments

Comments
 (0)