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

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):