forked from p15670423/monkey
Agent: Call mixin constructor in TCPConnectionHandler
This commit is contained in:
parent
7edb15d825
commit
1cd544e227
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue