1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Merge pull request #104044 from bruvzg/rd_pipeline_err_spam

Fix `Invalid Task ID` error spam in `PipelineHashMapRD`.
This commit is contained in:
Thaddeus Crews
2025-03-13 08:57:45 -05:00

View File

@@ -78,6 +78,7 @@ private:
void _wait_for_all_pipelines() {
thread_local LocalVector<WorkerThreadPool::TaskID> tasks_to_wait;
tasks_to_wait.clear();
{
MutexLock local_lock(local_mutex);
for (KeyValue<uint32_t, WorkerThreadPool::TaskID> key_value : compilation_tasks) {