You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can only reproduce inside a #[tokio::test]. Inside #[tokio::main] it seems to work just fine! 😕
At this point I'm suspecting that this is some tokio/executor/runtime-related "I'm holding it wrong" issue, and probably not a lapin issue! So feel free to ignore/close if you suspect the same.
I've made a repro here with both a main function and a test function if you're interested.
When a channel gets cancelled with
basic_cancel()
while messages are being processed, then:Closing
state, callingnack()
on a delivery returns an error as expected:invalid channel state: Closing
.nack()
never resolves.I suspect this is somewhat similar to #409, maybe?
I can try to put together a reproducing example if that's helpful.
The text was updated successfully, but these errors were encountered: