void myqtt_async_queue_safe_unref ( MyQttAsyncQueue **  queue)

Allows to perform a safe unref operation (nullifying the caller's queue reference).

Parameters
queueThe queue where to perform the safe unref operation.

References myqtt_cond_destroy(), myqtt_mutex_destroy(), myqtt_mutex_lock(), and myqtt_mutex_unlock().