From 4bad05c49c2889d5855525fdcdbeedb18bc11bca Mon Sep 17 00:00:00 2001 From: muramura Date: Fri, 18 Aug 2023 08:40:49 +0900 Subject: [PATCH] AP_Logger:AP_Networking: If initialization fails, the process is terminated --- libraries/AP_Networking/AP_Networking.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/AP_Networking/AP_Networking.cpp b/libraries/AP_Networking/AP_Networking.cpp index 4f376cbf861a8..d29fa03b17085 100644 --- a/libraries/AP_Networking/AP_Networking.cpp +++ b/libraries/AP_Networking/AP_Networking.cpp @@ -109,6 +109,7 @@ void AP_Networking::init() GCS_SEND_TEXT(MAV_SEVERITY_INFO, "NET: backend init failed"); delete backend; backend = nullptr; + return; } announce_address_changes();