2.3. tsQuit

Syntax

Pascal

procedure tsQuit;

C/C++

void tsQuit();

Description

Every time you have initialized the librarys core an internal counter will increased. The tsQuit function decreases this counter. If it reaches zero the library, all subsystem and internal structures will be freed. This function also deletes all contexts, fonts and images.

[Warning] Warning

After you have called tsQuit all systems and subsystems are closed an the memory will freed. But it's possible that in one or more threads still context are bounds. I can't control them yet. So it's recommend to unbind all context before you destroy them. Instead of you are surely quit your application. It's still the safest way.