Merge pull request #88865 from akien-mga/adb-ywz
Don't attempt shutting down adb on exit if not started
This commit is contained in:
commit
f8b2faadac
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
if (!FileAccess::exists(adb)) {
|
||||
return; //adb not configured
|
||||
|
|
Loading…
Reference in a new issue