On Wed, Aug 1, 2012 at 11:03 PM, Andrew Hume <[email protected]> wrote:

> i propose that you should need to zmq_close, and furthermore,
> that you need to zmq_close a msg you have zmq_msg_init()ed
> in the case you do not do a zmq_recv on it.

Fully agreed. Any constructor should be matched with a destructor.
It's a shame the API didn't take more care with object lifecycles.

Would you like to make a patch to the documentation (libzmq, then).

-Pieter
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to