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:
parent
1128258c03
commit
3d902b4b04
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue