IP_TaskDestroy -- closes connections and queues, removes the task and frees memory.
void IP_TaskDestroy(IP_Task* task);
void IP_TaskDestroy
A task pointer.
None.
This function closes any open connections on the task, closes any open queues, removes the task from the task cache, and frees any memory associated with the task structure, including the structure itself.
Task Structures, IP_TaskCreate