[zeromq-dev] zmq_ctx_term blocks in my test

Pieter Hintjens ph at imatix.com
Wed Jan 29 13:09:17 CET 2014


On Tue, Jan 28, 2014 at 9:39 AM, Laurent Alebarde <l.alebarde at free.fr> wrote:

> I forgot to close the two additional sockets of the test ! :-[
> Sorry for the disturbance.

Sorry for not responding in time. This is a standard problem with
libzmq, and one of the reasons we do socket management in CZMQ and
other bindings. Setting LINGER on all sockets and closing them is
necessary before shutting down.

-Pieter



More information about the zeromq-dev mailing list