#2689 Fixed up Pytests and confirmed functionality before merging from dev.
This commit is contained in:
@@ -390,7 +390,7 @@
|
||||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython3",
|
||||
"version": "3.10.8"
|
||||
"version": "3.10.12"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
|
||||
@@ -380,6 +380,7 @@ class C2Beacon(AbstractC2, identifier="C2Beacon"):
|
||||
self.keep_alive_inactivity += 1
|
||||
if not self._check_c2_connection(timestep):
|
||||
self.sys_log.error(f"{self.name}: Connection Severed - Application Closing.")
|
||||
self.c2_connection_active = False
|
||||
self.clear_connections()
|
||||
# TODO: Shouldn't this close() method also set the health state to 'UNUSED'?
|
||||
self.close()
|
||||
|
||||
Reference in New Issue
Block a user