linkedin / parseq

Asynchronous Java made easier
Apache License 2.0
1.17k stars 266 forks source link

Add more logs in ListenableFutureUtil #324

Closed junchuanwang closed 2 years ago

junchuanwang commented 2 years ago

Two changes (1) Add more logs in ListenableFutureUtil to understand the cancel sequence. (2) when we call BaseTask.cancel(), we need to cancel "future.cancel" no matter what, therefore this statement better not to be short-circuited.