archive
/
ipc-unix
Archived
1
Fork 0

Remove publisher socket path after close

This commit is contained in:
Jake Howard 2018-12-08 13:06:08 +00:00
parent cd8cb8eac9
commit 2e354a3814
Signed by: jake
GPG Key ID: 57AFB45680EDD477
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@ class Publisher:
for connection in self.connections:
connection.close()
self.connections.clear()
os.remove(self.socket_path)
def accept_new_connection(self):
while socket_has_data(self.master_socket):