aioftp icon indicating copy to clipboard operation
aioftp copied to clipboard

Deadlock upon calling `await client.abort()`

Open michaelwillis opened this issue 1 year ago • 5 comments

I'm trying to implement abort download as described in Advanced download and upload, abort, restart. Following the example, I find that await client.abort() deadlocks, but if my code first calls stream.close(), then it can call await client.abort() without deadlock. Are these two lines mixed up in the example?

michaelwillis avatar May 23 '23 13:05 michaelwillis