Remove publisher socket path after close
This commit is contained in:
parent
cd8cb8eac9
commit
2e354a3814
1 changed files with 1 additions and 0 deletions
|
@ -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):
|
||||
|
|
Reference in a new issue