We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0968b41 commit ed05ae9Copy full SHA for ed05ae9
src/sch/Sch.jl
@@ -1622,8 +1622,6 @@ function do_task(to_proc, task::TaskSpec)
1622
# Execute
1623
execute!(to_proc, f, fetched_args...; fetched_kwargs...)
1624
end
1625
- empty!(fetched_args)
1626
- empty!(fetched_kwargs)
1627
1628
# Check if result is safe to store
1629
# FIXME: Move here and below *after* timespan_finish for :compute
@@ -1652,6 +1650,9 @@ function do_task(to_proc, task::TaskSpec)
1652
1650
catch ex
1653
1651
bt = catch_backtrace()
1654
RemoteException(myid(), CapturedException(ex, bt))
+ finally
+ empty!(fetched_args)
1655
+ empty!(fetched_kwargs)
1656
1657
1658
threadtime = cputhreadtime() - threadtime_start
0 commit comments