Pascal
procedure tsContextDestroy(ContextID: tsContextID);
C/C++
void tsContextDestroy(tsContextID ContextID);
This function frees an context and all it's containing objects.
The ID of the context that will be freed.
You can't free an context if the library wasn't initialized. See also tsInit.
You can't free an context they is bound to an different thread.
If you pass an ID of context that dosn't exists.
During the freeing of the context an error occours that hasn't an specific error code.