spring-projects/spring-amqp

Fix `RabbitFuture` for interrupted thread

artembilan opened this issue · 0 comments

The cancelTimeoutTaskIfAny() may make the current thread dead with its interruption.

Move cancelTimeoutTaskIfAny() into finally block after the target logic is performed.