BaseSelectorEventLoop.close() now closes the self-pipe before calling the parent close() method. If the event loop is already closed, the self-pipe is not unregistered from the selector.
BaseSelectorEventLoop.close() now closes the self-pipe before calling the
parent close() method. If the event loop is already closed, the self-pipe is
not unregistered from the selector.

Martiusweb/asyncio,manipopopo/asyncio,gvanrossum/asyncio,jashandeep-sohi/asyncio,Martiusweb/asyncio,gsb-eng/asyncio,haypo/trollius,ajdavis/asyncio,fallen/asyncio,1st1/asyncio,gvanrossum/asyncio,vxgmichel/asyncio,ajdavis/asyncio,manipopopo/asyncio,haypo/trollius,manipopopo/asyncio,gvanrossum/asyncio,fallen/asyncio,gsb-eng/asyncio,Martiusweb/asyncio,1st1/asyncio,haypo/trollius,1st1/asyncio,vxgmichel/asyncio,ajdavis/asyncio,jashandeep-sohi/asyncio,fallen/asyncio,gsb-eng/asyncio,jashandeep-sohi/asyncio,vxgmichel/asyncio