Skip to content

Commit 334e526

Browse files
committed
Fix AnySuccessfulFuturePromise
1 parent be0ed75 commit 334e526

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/concurrent/edge/promises.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1374,6 +1374,7 @@ class AnySuccessfulFuturePromise < AnyCompleteFuturePromise
13741374

13751375
def completable?(countdown, future)
13761376
future.success? || super(countdown, future)
1377+
countdown.zero?
13771378
end
13781379
end
13791380

0 commit comments

Comments
 (0)