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:
Manuel Castilla 2021-04-28 08:20:12 +02:00 committed by Jeroen Bakker
parent 1128258c03
commit 3d902b4b04
1 changed files with 0 additions and 1 deletions

View File

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