MQTT API Reference
MQTT 3.1.1 client library
IotMqtt_Cleanup

One-time deinitialization function for the MQTT library.

void IotMqtt_Cleanup( void );

This function frees resources taken in IotMqtt_Init. It should be called after closing all MQTT connections to clean up the MQTT library. After this function returns, IotMqtt_Init must be called again before calling any other MQTT function.

Warning
No thread-safety guarantees are provided for this function. Do not call this function if any MQTT connections are open!
See also
IotMqtt_Init
IotMqtt_Cleanup
void IotMqtt_Cleanup(void)
One-time deinitialization function for the MQTT library.
Definition: iot_mqtt_api.c:951