On Wed, Jun 23, 2010 at 5:58 PM, gonzalo diethelm <[email protected]> wrote:
>> I think you are on the right track.  Looking at the native jzmq code,
>> it appears that transiently using a Context object to construct
>> Sockets would allow the JVM to "finalize" the Context object while the
>> application still has a live reference to the Socket object(s).
>> Something like this:
>
> Perhaps we could store a reference to the context from the newly created
> socket. Would that suffice?
>

Ah yes, that's probably much simpler than tackling it inside the native code.
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to