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

Fix Invalid Task ID error spam in PipelineHashMapRD.

This commit is contained in:
Pāvels Nadtočajevs
2025-03-12 19:59:13 +02:00
parent 74907876d3
commit 047afb1b1d

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) {