From 2e354a3814713b507b423d1c0b0294cb03a2165a Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 8 Dec 2018 13:06:08 +0000 Subject: [PATCH] Remove publisher socket path after close --- ipc_unix/pubsub.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ipc_unix/pubsub.py b/ipc_unix/pubsub.py index 8dc776c..45d60ad 100644 --- a/ipc_unix/pubsub.py +++ b/ipc_unix/pubsub.py @@ -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):