Merge pull request #70 from raulcf/master

Updating zmq_ctx_shutdown to zmq_ctx_destroy which is imported in zmq.h
This commit is contained in:
Constantin Rack 2016-01-20 00:11:25 +01:00
commit 68a7b09cfc

View File

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