aioftp
aioftp copied to clipboard
Deadlock upon calling `await client.abort()`
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?