aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--editor/plugins/asset_library_editor_plugin.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/editor/plugins/asset_library_editor_plugin.cpp b/editor/plugins/asset_library_editor_plugin.cpp
index dc4c08760..55f870121 100644
--- a/editor/plugins/asset_library_editor_plugin.cpp
+++ b/editor/plugins/asset_library_editor_plugin.cpp
@@ -515,7 +515,8 @@ EditorAssetLibraryItemDownload::EditorAssetLibraryItemDownload() {
download = memnew(HTTPRequest);
add_child(download);
download->connect("request_completed", this, "_http_download_completed");
- download->set_use_threads(EDITOR_DEF("asset_library/use_threads", true));
+ // Threaded HTTPRequest causes crashes (GH-19336)
+ download->set_use_threads(false);
download_error = memnew(AcceptDialog);
add_child(download_error);
@@ -834,7 +835,8 @@ void EditorAssetLibrary::_request_image(ObjectID p_for, String p_image_url, Imag
iq.image_index = p_image_index;
iq.image_type = p_type;
iq.request = memnew(HTTPRequest);
- iq.request->set_use_threads(EDITOR_DEF("asset_library/use_threads", true));
+ // Threaded HTTPRequest causes crashes (GH-19336)
+ iq.request->set_use_threads(false);
iq.target = p_for;
iq.queue_id = ++last_queue_id;