Shutting down

Before exiting the application, the Server Lib should be shut down with

unsigned int ts3server_destroyServerLib(); 
 

Returns ERROR_ok on success, otherwise an error code as defined in public_errors.h.

Any call to Server Lib functions after shutting down has undefined results.

[Caution]Caution

Never destroy the Server Lib from within a callback function. This might result in a segmentation fault.