Skip to content

Commit e8af70c

Browse files
authored
Merge pull request JuliaLang/julia#43084 from JuliaLang/backports-release-1.7
release-1.7: Backports for 1.7.0/1.7.0-rc4
2 parents ecd3ed9 + 3a5339c commit e8af70c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/remotecall.jl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,10 @@ function start_gc_msgs_task()
270270
# this might miss events
271271
wait(any_gc_flag)
272272
end
273-
flush_gc_msgs() # handles throws internally
273+
# Use invokelatest() so that custom message transport streams
274+
# for workers can be defined in a newer world age than the Task
275+
# which runs the loop here.
276+
invokelatest(flush_gc_msgs) # handles throws internally
274277
end
275278
end
276279
)

0 commit comments

Comments
 (0)