Show Table of Contents
51.18. slapi_task_set_destructor_fn()
Sets a callback to be used when a task is destroyed.
The destruction of the task itself is taken care of automatically, but a callback can be set to clean up any data that were passed with slapi_task_set_data().
Syntax
void slapi_task_set_destructor_fn(Slapi_Task *task, TaskCallbackFn func)
Parameters
This function takes the following parameter:
| task | Points to the task operation which is being performed by the server. |

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.