mirror of https://github.com/ArduPilot/ardupilot
AP_Logger:AP_Networking: If initialization fails, the process is terminated
This commit is contained in:
parent
75a279a11d
commit
4bad05c49c
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue