void myqttd_module_unregister ( MyQttdModule module)

Unregister the module provided from the list of modules loaded.

The function do not close the module (myqttd_module_free). This is required to be done by the caller.

Parameters
moduleThe module to unregister.

References myqtt_mutex_lock(), and myqtt_mutex_unlock().