Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.4k
Closed
Description
Bug report
Bug description:
After creating a UNIX socket server withloop.create_unix_server()
and then closing it usingServer.close()
, then the UNIX socket file is still left on disk.
Although asyncio itself can handle this on the next startup since#72585, it's still a bit rude (and confusing) to leave stale things around on the file system.
Callers can make sure to pairServer.close()
with anos.unlink()
. But it would be a lot neater if Python could automatically do this, as basically everyone should do it anyway.
CPython versions tested on:
3.9
Operating systems tested on:
Linux
Linked PRs
Metadata
Metadata
Assignees
Projects
Status
Done