From baa9de408788ff408a69f4950a57af66c019a18b Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Tue, 29 Mar 2022 12:44:41 -0400 Subject: [PATCH] Agent: Remove stale TODO in AutomatedMaster --- monkey/infection_monkey/master/automated_master.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/monkey/infection_monkey/master/automated_master.py b/monkey/infection_monkey/master/automated_master.py index f70d90b46..1e837bb74 100644 --- a/monkey/infection_monkey/master/automated_master.py +++ b/monkey/infection_monkey/master/automated_master.py @@ -90,9 +90,6 @@ class AutomatedMaster(IMaster): logger.warning("Timed out waiting for the simulation to stop") # Since the master thread and all child threads are daemon threads, they will be # forcefully killed when the program exits. - # TODO: Daemon threads to not die when the parent THREAD does, but when the parent - # PROCESS does. This could lead to conflicts between threads that refuse to die - # and the cleanup() function. Come up with a solution. logger.warning("Forcefully killing the simulation") def _wait_for_master_stop_condition(self):