diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-02-26 13:35:48 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-02-26 13:37:06 +0100 |
commit | b849d34012a2189fe0d66bc54b006c9ff1bb8e67 (patch) | |
tree | 07bcf8549112457e5e9a942788b2d91373b30c33 /platform/android | |
parent | bb6b06c81343073f10cbbd2af515cf0dac1e6549 (diff) | |
download | redot-engine-b849d34012a2189fe0d66bc54b006c9ff1bb8e67.tar.gz |
Don't attempt shutting down adb on exit if not started
Fixes #88864.
Diffstat (limited to 'platform/android')
-rw-r--r-- | platform/android/export/export_plugin.cpp | 2 |
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 |