Skip to content

Commit 89a6f29

Browse files
committed
Fix propagation of values in ziped_future.then expresion
1 parent 9f5234e commit 89a6f29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/concurrent/edge/future.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1057,7 +1057,7 @@ def on_completable(done_future)
10571057
evaluate_to lambda { done_future.apply task }
10581058
end
10591059
else
1060-
complete_with Future::Failed.new(done_future.reason)
1060+
complete_with done_future.internal_state
10611061
end
10621062
end
10631063
end

0 commit comments

Comments
 (0)