File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -3067,12 +3067,12 @@ static void find_max_worker(struct vine_manager *q)
30673067 * are not counted towards the resources in use and will be killed if needed. */
30683068static void kill_empty_libraries_on_worker (struct vine_manager * q , struct vine_worker_info * w , struct vine_task * t )
30693069{
3070- uint64_t task_id ;
3071- struct vine_task * task ;
3072- ITABLE_ITERATE (w -> current_tasks , task_id , task )
3070+ uint64_t libtask_id ;
3071+ struct vine_task * libtask ;
3072+ ITABLE_ITERATE (w -> current_libraries , libtask_id , libtask )
30733073 {
3074- if (task -> provides_library && task -> function_slots_inuse == 0 && (!t -> needs_library || strcmp (t -> needs_library , task -> provides_library ))) {
3075- vine_cancel_by_task_id (q , task -> task_id );
3074+ if (libtask -> function_slots_inuse == 0 && (!t -> needs_library || strcmp (t -> needs_library , libtask -> provides_library ))) {
3075+ vine_cancel_by_task_id (q , libtask_id );
30763076 }
30773077 }
30783078}
You can’t perform that action at this time.
0 commit comments