void myqttd_loop_close ( MyQttdLoop loop,
axl_bool  notify 
)

Finishes the provided MyQttdLoop, releasing resources and stopping its resources.

Parameters
loopThe loop to finish.
notifyIn the case the internal thread started by the loop should be notified to be stopped.

References myqtt_async_queue_push(), myqtt_async_queue_unref(), and myqtt_thread_destroy().

Referenced by myqttd_exit().