Shutting down

Before exiting the client application, the Client Lib should be shut down with

unsigned int ts3client_destroyClientLib(); 

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

Make sure to call this function after disconnecting from any TeamSpeak 3 servers. Any call to Client Lib functions after shutting down has undefined results.