void nopoll_msg_unref ( noPollMsg msg)

Allows to release the reference acquired, finished the object if all references are terminated.

Parameters
msgThe websocket message to be finished.

References nopoll_free(), nopoll_mutex_destroy(), nopoll_mutex_lock(), and nopoll_mutex_unlock().

Referenced by nopoll_conn_get_msg(), nopoll_conn_read(), and nopoll_conn_unref().