Skip to content

Commit

Permalink
fix...
Browse files Browse the repository at this point in the history
  • Loading branch information
oldratlee committed Aug 10, 2024
1 parent 0355aed commit b1d0b67
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,8 @@ public static <T> CompletableFuture<T> toCompletableFuture(
@Override
public boolean cancel(boolean mayInterruptIfRunning) {
// propagate cancellation from outer adapter to LF
final boolean ret = lf.cancel(mayInterruptIfRunning);
super.cancel(mayInterruptIfRunning);
return ret;
lf.cancel(mayInterruptIfRunning);
return super.cancel(mayInterruptIfRunning);
}

@Override
Expand Down

0 comments on commit b1d0b67

Please sign in to comment.