Kill connections when closing publisher
This commit is contained in:
parent
07ed45780a
commit
e605438d33
1 changed files with 2 additions and 0 deletions
|
@ -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):
|
||||
|
|
Reference in a new issue