Skip to content

Commit

Permalink
DistributedStdlibWorker: use remote_do for Malt.remote_do
Browse files Browse the repository at this point in the history
This means that the errors will print to the terminal
  • Loading branch information
fonsp committed Sep 12, 2023
1 parent f3a92ea commit 24d9042
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/DistributedStdlibWorker.jl
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ function remotecall_wait(f, w::DistributedStdlibWorker, args...; kwargs...)
end

function remote_do(f, w::DistributedStdlibWorker, args...; kwargs...)
Distributed.remotecall(f, w.pid, args...; kwargs...)
nothing
Distributed.remote_do(f, w.pid, args...; kwargs...)
end

function worker_channel(w::DistributedStdlibWorker, expr)
Expand Down

0 comments on commit 24d9042

Please sign in to comment.