test ebpf
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 1m40s
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 1m40s
This commit is contained in:
@@ -77,6 +77,26 @@ async def shutdown_event() -> None:
|
||||
except Exception:
|
||||
logging.exception("Error shutting down network API")
|
||||
|
||||
try:
|
||||
from src.utilities.bridge_telemetry import bridge_telemetry_manager
|
||||
|
||||
bridge_telemetry_manager.stop()
|
||||
except Exception:
|
||||
logging.exception("Failed to stop bridge telemetry collector")
|
||||
|
||||
try:
|
||||
from src.utilities.packet_tracker import packet_tracker
|
||||
|
||||
packet_tracker.stop()
|
||||
except Exception:
|
||||
logging.exception("Failed to stop packet tracker")
|
||||
|
||||
try:
|
||||
if shared_objects.broadcaster is not None:
|
||||
await shared_objects.broadcaster.close()
|
||||
except Exception:
|
||||
logging.exception("Failed to close packet broadcaster during shutdown")
|
||||
|
||||
try:
|
||||
web_db = getattr(shared_objects, "db", None)
|
||||
if web_db is not None:
|
||||
|
||||
Reference in New Issue
Block a user