summaryrefslogtreecommitdiff
path: root/platform/android/export/export_plugin.h
diff options
context:
space:
mode:
authorFredia Huya-Kouadio <fhuyakou@gmail.com>2022-08-15 02:30:43 -0700
committerFredia Huya-Kouadio <fhuyakou@gmail.com>2022-08-15 02:30:43 -0700
commit44dc24ec38b9853a73e53cb80263ff4748ecc7e7 (patch)
treedeafc0d68968e2c2f4e460edf811f91000291dc0 /platform/android/export/export_plugin.h
parentb3117b63697c6934f4afc66c5e842ab26aa0a235 (diff)
Disable threads used to check on plugins to load
The functionality is unavailable on Android (requires export capability) and unnecessarily consumes resources
Diffstat (limited to 'platform/android/export/export_plugin.h')
-rw-r--r--platform/android/export/export_plugin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/android/export/export_plugin.h b/platform/android/export/export_plugin.h
index 9455967053..46012bd46c 100644
--- a/platform/android/export/export_plugin.h
+++ b/platform/android/export/export_plugin.h
@@ -80,10 +80,12 @@ class EditorExportPlatformAndroid : public EditorExportPlatform {
Vector<Device> devices;
SafeFlag devices_changed;
Mutex device_lock;
+#ifndef ANDROID_ENABLED
Thread check_for_changes_thread;
SafeFlag quit_request;
static void _check_for_changes_poll_thread(void *ud);
+#endif
String get_project_name(const String &p_name) const;