summaryrefslogtreecommitdiffstats
path: root/platform/android/export/export_plugin.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-02-27 10:18:24 +0100
committerRémi Verschelde <rverschelde@gmail.com>2024-02-27 10:18:24 +0100
commitf8b2faadac714a833829639b2be5b1ddfb84af65 (patch)
tree35b417aeae1bf79b383f24a970d4602b666a3142 /platform/android/export/export_plugin.cpp
parent592d2cb316c425364cf5374ba2621711701cd867 (diff)
parentb849d34012a2189fe0d66bc54b006c9ff1bb8e67 (diff)
downloadredot-engine-f8b2faadac714a833829639b2be5b1ddfb84af65.tar.gz
Merge pull request #88865 from akien-mga/adb-ywz
Don't attempt shutting down adb on exit if not started
Diffstat (limited to 'platform/android/export/export_plugin.cpp')
-rw-r--r--platform/android/export/export_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/export/export_plugin.cpp b/platform/android/export/export_plugin.cpp
index 471fda74bf..53182b8e2d 100644
--- a/platform/android/export/export_plugin.cpp
+++ b/platform/android/export/export_plugin.cpp
@@ -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