mirror of
https://github.com/godotengine/godot.git
synced 2025-10-15 02:49:24 +00:00
Compare commits
2 Commits
cb7cd815ee
...
4219ce91f2
Author | SHA1 | Date | |
---|---|---|---|
![]() |
4219ce91f2 | ||
![]() |
906aff5331 |
@@ -2799,10 +2799,4 @@ void EditorExportPlatformAppleEmbedded::_initialize(const char *p_platform_logo_
|
||||
}
|
||||
|
||||
EditorExportPlatformAppleEmbedded::~EditorExportPlatformAppleEmbedded() {
|
||||
#ifdef MACOS_ENABLED
|
||||
quit_request.set();
|
||||
if (check_for_changes_thread.is_started()) {
|
||||
check_for_changes_thread.wait_to_finish();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
@@ -98,6 +98,13 @@ protected:
|
||||
check_for_changes_thread.start(_check_for_changes_poll_thread, this);
|
||||
}
|
||||
|
||||
void _stop_remote_device_poller_thread() {
|
||||
quit_request.set();
|
||||
if (check_for_changes_thread.is_started()) {
|
||||
check_for_changes_thread.wait_to_finish();
|
||||
}
|
||||
}
|
||||
|
||||
int _execute(const String &p_path, const List<String> &p_arguments, std::function<void(const String &)> p_on_data);
|
||||
|
||||
private:
|
||||
|
@@ -47,6 +47,9 @@ void EditorExportPlatformIOS::initialize() {
|
||||
}
|
||||
|
||||
EditorExportPlatformIOS::~EditorExportPlatformIOS() {
|
||||
#ifdef MACOS_ENABLED
|
||||
_stop_remote_device_poller_thread();
|
||||
#endif
|
||||
}
|
||||
|
||||
void EditorExportPlatformIOS::get_export_options(List<ExportOption> *r_options) const {
|
||||
|
@@ -47,6 +47,9 @@ void EditorExportPlatformVisionOS::initialize() {
|
||||
}
|
||||
|
||||
EditorExportPlatformVisionOS::~EditorExportPlatformVisionOS() {
|
||||
#ifdef MACOS_ENABLED
|
||||
_stop_remote_device_poller_thread();
|
||||
#endif
|
||||
}
|
||||
|
||||
void EditorExportPlatformVisionOS::get_export_options(List<ExportOption> *r_options) const {
|
||||
|
Reference in New Issue
Block a user