forked from p34709852/monkey
Agent: Convert _event_queue from member to local variable
This commit is contained in:
parent
21c9ea9d44
commit
23b96c2a36
|
@ -106,7 +106,6 @@ class InfectionMonkey:
|
|||
self._current_depth = self._opts.depth
|
||||
self._master = None
|
||||
self._inbound_tunnel_opened = False
|
||||
self._event_queue = None
|
||||
|
||||
@staticmethod
|
||||
def _get_arguments(args):
|
||||
|
@ -198,7 +197,7 @@ class InfectionMonkey:
|
|||
def _build_master(self):
|
||||
local_network_interfaces = InfectionMonkey._get_local_network_interfaces()
|
||||
|
||||
self._event_queue = PyPubSubEventQueue(Publisher())
|
||||
_event_queue = PyPubSubEventQueue(Publisher())
|
||||
|
||||
# TODO control_channel and control_client have same responsibilities, merge them
|
||||
control_channel = ControlChannel(
|
||||
|
|
Loading…
Reference in New Issue