summaryrefslogtreecommitdiffstats
path: root/core/io/resource_loader.cpp
diff options
context:
space:
mode:
authorPedro J. Estébanez <pedrojrulez@gmail.com>2024-02-23 14:54:03 +0100
committerPedro J. Estébanez <pedrojrulez@gmail.com>2024-02-23 14:54:03 +0100
commit851f1d49d730eb6ccd9ea25e3dd5719cdfd6000b (patch)
treeda28252919d35a816a84a7961b873cec91315492 /core/io/resource_loader.cpp
parent25a52c624e65cc8006d4ff8a153490d8836e4175 (diff)
downloadredot-engine-851f1d49d730eb6ccd9ea25e3dd5719cdfd6000b.tar.gz
Remove spammy dev-mode message about load deadlock prevention
Diffstat (limited to 'core/io/resource_loader.cpp')
-rw-r--r--core/io/resource_loader.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/core/io/resource_loader.cpp b/core/io/resource_loader.cpp
index 5344266a9c..a3fc7bc370 100644
--- a/core/io/resource_loader.cpp
+++ b/core/io/resource_loader.cpp
@@ -658,9 +658,6 @@ Ref<Resource> ResourceLoader::_load_complete_inner(LoadToken &p_load_token, Erro
// resource loading that means that the task to wait for can be restarted here to break the
// cycle, with as much recursion into this process as needed.
// When the stack is eventually unrolled, the original load will have been notified to go on.
-#ifdef DEV_ENABLED
- print_verbose("ResourceLoader: Potential for deadlock detected in task dependency. Attempting to avoid it by re-issuing the load now.");
-#endif
// CACHE_MODE_IGNORE is needed because, otherwise, the new request would just see there's
// an ongoing load for that resource and wait for it again. This value forces a new load.
Ref<ResourceLoader::LoadToken> token = _load_start(load_task.local_path, load_task.type_hint, LOAD_THREAD_DISTRIBUTE, ResourceFormatLoader::CACHE_MODE_IGNORE);