mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 23:31:53 -05:00
Disable threads used to check on plugins to load
The functionality is unavailable on Android (requires export capability) and unnecessarily consumes resources
This commit is contained in:
@@ -1884,10 +1884,14 @@ bool EditorExportPlatformIOS::has_valid_project_configuration(const Ref<EditorEx
|
||||
EditorExportPlatformIOS::EditorExportPlatformIOS() {
|
||||
logo = ImageTexture::create_from_image(memnew(Image(_ios_logo)));
|
||||
plugins_changed.set();
|
||||
#ifndef ANDROID_ENABLED
|
||||
check_for_changes_thread.start(_check_for_changes_poll_thread, this);
|
||||
#endif
|
||||
}
|
||||
|
||||
EditorExportPlatformIOS::~EditorExportPlatformIOS() {
|
||||
#ifndef ANDROID_ENABLED
|
||||
quit_request.set();
|
||||
check_for_changes_thread.wait_to_finish();
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user