void nopoll_conn_unref ( noPollConn conn)

Allows to unref connection reference acquired via nopoll_conn_ref.

Parameters
connThe connection to be unrefered.

References nopoll_conn_opts_free(), nopoll_ctx_unref(), nopoll_free(), NOPOLL_LEVEL_DEBUG, nopoll_msg_unref(), nopoll_mutex_destroy(), nopoll_mutex_lock(), and nopoll_mutex_unlock().

Referenced by nopoll_conn_close_ext(), and nopoll_listener_from_socket().