asyncio: Fix a leak when event loops are created and destroyed
The WeakKeyDictionary in IOLoop wasn't doing its job because of reference cycles. This was easiest to see with the synchronous HTTPClient. Fixes #2321
Showing
想要评论请 注册 或 登录
The WeakKeyDictionary in IOLoop wasn't doing its job because of reference cycles. This was easiest to see with the synchronous HTTPClient. Fixes #2321