Skip to content

Commit 96ce5c0

Browse files
committed
precompile: Switch task cleanup assert to warn
1 parent d93dc52 commit 96ce5c0

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)