Agent: Call mixin constructor in TCPConnectionHandler

This commit is contained in:
Mike Salvatore 2022-09-06 14:50:42 -04:00
parent 7edb15d825
commit 1cd544e227
1 changed files with 3 additions and 1 deletions

View File

@ -19,7 +19,9 @@ class TCPConnectionHandler(Thread, InterruptableThreadMixin):
self.bind_host = bind_host
self.bind_port = bind_port
self._client_connected = client_connected
super().__init__(name="TCPConnectionHandler", daemon=True)
Thread.__init__(self, name="TCPConnectionHandler", daemon=True)
InterruptableThreadMixin.__init__(self)
def run(self):
l_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)