On Mon, Nov 7, 2011 at 10:22 AM, Martin Sustrik <[email protected]> wrote:
> Other bindings for languages with GCs do the same thing. See, for
> exmaple, here;
>
> https://github.com/zeromq/jzmq/blob/master/src/org/zeromq/ZMQ.java#L334
>

Hi,

as far as I understand majority of the language with GC leave the
closing to GC. Otherwise this would cause annoying issues where the
object for the socket is valid but the underlying socket is invalid.
There should be no need for explicit close as usually object going out
of scope closes the socket.


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

Reply via email to