Message277061
| Author |
asvetlov |
| Recipients |
asvetlov, docs@python, gvanrossum, r.david.murray, yselivanov, Константин Волков |
| Date |
2016年09月20日.20:16:24 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1474402584.2.0.747399634908.issue28212@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
It's a known annoying issue.
Honestly I don't know how to fix it properly.
`transport.close()` is affected also because `protocol.connection_lost()` is called on next loop iteration only.
Adding a small `asyncio.sleep()` between finishing all worn and loop closing solves the problem for me but the solution is not obvious for newbies. |
|