AP_Logger:AP_Networking: If initialization fails, the process is terminated

This commit is contained in:
muramura 2023-08-18 08:40:49 +09:00 committed by Tom Pittenger
parent 75a279a11d
commit 4bad05c49c
1 changed files with 1 additions and 0 deletions

View File

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