archive
/
ipc-unix
Archived
1
Fork 0

Kill connections when closing publisher

This commit is contained in:
Jake Howard 2018-12-08 12:37:39 +00:00
parent 07ed45780a
commit e605438d33
Signed by: jake
GPG Key ID: 57AFB45680EDD477
1 changed files with 2 additions and 0 deletions

View File

@ -44,6 +44,8 @@ class Publisher:
def close(self):
self.master_socket.close()
for connection in self.connections:
connection.close()
self.connections.clear()
def accept_new_connection(self):