[zeromq-dev] czmq and interruption handling on windows
Luca Boccassi
luca.boccassi at gmail.com
Mon Jan 9 20:37:25 CET 2017
On Mon, 2017-01-09 at 20:14 +0100, brunobodin . wrote:
> Hello,
>
> I am successfully using ZeroMQ on windows from more than a year now. Now I
> would like to leverage CZMQ (in particular the beacon for discovery), but I
> find difficult to have a clean exit in my application (which is a console
> app)
>
> In particular, I noticed that in zsys.c, only CTRL_C_EVENT is handled, and
> not CTRL_CLOSE_EVENT, which is the one triggered when the user closes the
> application window.
> I there any reason why this event is not handled ? When I added it the
> behaviour of my app became clean.
>
> Thanks
>
> Bruno Bodin
Probably nobody just implemented it. If you send a PR we'll merge it.
Kind regards,
Luca Boccassi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20170109/044d3405/attachment.sig>
More information about the zeromq-dev
mailing list