summaryrefslogtreecommitdiffstats
path: root/platform/android/export/export.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android/export/export.cpp')
-rw-r--r--platform/android/export/export.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/platform/android/export/export.cpp b/platform/android/export/export.cpp
index 78c28ede50..72d665329e 100644
--- a/platform/android/export/export.cpp
+++ b/platform/android/export/export.cpp
@@ -3532,6 +3532,13 @@ public:
devices_changed = true;
quit_request = false;
}
+
+ ~EditorExportAndroid() {
+ quit_request = true;
+ Thread::wait_to_finish(device_thread);
+ memdelete(device_lock);
+ memdelete(device_thread);
+ }
};
void register_android_exporter() {