diff --git a/core/object/worker_thread_pool.cpp b/core/object/worker_thread_pool.cpp index 70057b5a9d2..cc382d5cd26 100644 --- a/core/object/worker_thread_pool.cpp +++ b/core/object/worker_thread_pool.cpp @@ -225,7 +225,7 @@ void WorkerThreadPool::_post_tasks(Task **p_tasks, uint32_t p_count, bool p_high // in custom builds. // Avoid calling pump tasks or low priority tasks from the calling thread. - bool process_on_calling_thread = threads.is_empty() && p_high_priority && !p_pump_task; + bool process_on_calling_thread = threads.is_empty() && !p_pump_task; if (process_on_calling_thread) { p_lock.temp_unlock(); for (uint32_t i = 0; i < p_count; i++) {