zctx_destroy hang on windows
*Created by: priteshacharya*
zctx_destroy hangs on both czmq 2.0.3 and 2.1.0
Zmq version: 4.0.3
I'm using windows build of czmq
Both the zmq and czmq are built as DLL.
#include <czmq.h>
int main (void)
{
zctx_t *ctx = zctx_new ();
void *socket_ = zsocket_new(ctx, ZMQ_PUSH);
zsocket_connect(socket_, "inproc://collector");
zsocket_destroy(ctx, socket_);
zctx_destroy (&ctx);
return 0;
}
However there is no problem on linux.
issue