Skip to content

Commit a63e30d

Browse files
author
KDr2
committed
copy task storage
1 parent 4215c28 commit a63e30d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/tapedtask.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,8 @@ end
247247
function Base.copy(t::TapedTask)
248248
tf = copy(t.tf)
249249
new_t = TapedTask(tf)
250+
new_t.task.storage = copy(t.task.storage)
251+
new_t.task.storage[:tapedtask] = new_t
250252
next_step(new_t)
251253
return new_t
252254
end

0 commit comments

Comments
 (0)