You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Fix crash on exit.
First it crashed in the thread that checks for android devices, then in the audio driver.
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user