Updating zmq_ctx_shutdown to zmq_ctx_ctx which is imported in zmq.h

This commit is contained in:
raulcf 2016-01-19 17:39:26 -05:00
parent 7f7c83411d
commit 014628cb34

View File

@ -408,7 +408,7 @@ namespace zmq
inline void close() ZMQ_NOTHROW inline void close() ZMQ_NOTHROW
{ {
int rc = zmq_ctx_shutdown (ptr); int rc = zmq_ctx_destroy (ptr);
ZMQ_ASSERT (rc == 0); ZMQ_ASSERT (rc == 0);
} }