Run python_d.exe -m test test_asyncio -m test_drain_raises -F
on Windows. The test eventually fails after some repetitions.
The problem is that _call_connection_lost
can be called multiple times, even after the socket by the proactortransport is closed. So it's calling close()
on something that is already set to None
.
I have a PR to fix it.