Fix Compositor: WorkScheduler task model deletes works
WorkScheduler task model deletes work packages after executing them. The other models don't do so. All models should handle packages the same way. Reviewed By: #compositing, jbakker Differential Revision: https://developer.blender.org/D11102
This commit is contained in:
committed by
Jeroen Bakker
parent
36863cf129
commit
05b1f966fd
@@ -397,7 +397,6 @@ static void threading_model_task_execute(TaskPool *__restrict UNUSED(pool), void
|
||||
CPUDevice device(BLI_task_parallel_thread_id(nullptr));
|
||||
BLI_thread_local_set(g_thread_device, &device);
|
||||
device.execute(package);
|
||||
delete package;
|
||||
}
|
||||
|
||||
static void threading_model_task_schedule(WorkPackage *package)
|
||||
|
||||
Reference in New Issue
Block a user