Agent: Convert _event_queue from member to local variable

This commit is contained in:
Mike Salvatore 2022-08-12 10:13:36 -04:00
parent 21c9ea9d44
commit 23b96c2a36
1 changed files with 1 additions and 2 deletions

View File

@ -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(