mqttdestroy
deletes the client and free memory associated with client instance.
Attention: Available only with Twin Activate commercial edition.
Syntax
mqttdestroy(clientid)
Inputs
- clientid
- client id,an output of mqttclient.
Examples
to clear the connection instance from the session
cld = mqttclient('test.mosquitto.org');
mqttdestroy(cld)