1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-13 13:31:48 +00:00

Don't attempt shutting down adb on exit if not started

Fixes #88864.
This commit is contained in:
Rémi Verschelde
2024-02-26 13:35:48 +01:00
parent bb6b06c813
commit b849d34012

View File

@@ -416,7 +416,7 @@ void EditorExportPlatformAndroid::_check_for_changes_poll_thread(void *ud) {
} }
} }
if (EDITOR_GET("export/android/shutdown_adb_on_exit")) { if (ea->has_runnable_preset.is_set() && EDITOR_GET("export/android/shutdown_adb_on_exit")) {
String adb = get_adb_path(); String adb = get_adb_path();
if (!FileAccess::exists(adb)) { if (!FileAccess::exists(adb)) {
return; //adb not configured return; //adb not configured