[zeromq-dev] zeromq Windows handle leak?
KIU Shueng Chuan
nixchuan at gmail.com
Tue Dec 25 09:55:22 CET 2012
The following snippet seems to be leaking 1 handle per second, as viewed
from task manager.
OS: Windows XP SP3 32-bits
Library: ZeroMQ v3.2.2
-----------------------------
#include <zmq.h>
#include <zmq_utils.h>
int main()
{
void *ctx = zmq_ctx_new();
while (1) {
void *zsock = zmq_socket(ctx, ZMQ_DEALER);
zmq_close(zsock);
zmq_sleep(1);
}
zmq_ctx_destroy(ctx);
return 0;
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20121225/3dac045d/attachment.htm>
More information about the zeromq-dev
mailing list