From 7d1030eb0348c872029528f6c7b2d49d5bff9968 Mon Sep 17 00:00:00 2001 From: Allen Hill Date: Tue, 10 Dec 2024 20:30:46 -0500 Subject: [PATCH] Fix `register_comm` invalidations (#1134) --- src/comm_manager.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/comm_manager.jl b/src/comm_manager.jl index a80d83e7..17319b71 100644 --- a/src/comm_manager.jl +++ b/src/comm_manager.jl @@ -106,7 +106,7 @@ function comm_open(sock, msg) msg.content["data"] = Dict() end comm = Comm(target, comm_id, false) - register_comm(comm, msg) + invokelatest(register_comm, comm, msg) comms[comm_id] = comm else # Tear down comm to maintain consistency