IP_TaskDestroy

IP_TaskDestroy — closes connections and queues, removes the task and frees memory.

Syntax

#include <cogent.h>

void IP_TaskDestroy(IP_Task* task);

Arguments

task

A task pointer.

Returns

None.

Description

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.

See Also

Task Structures, IP_TaskCreate