Skip to content

Commit 68a7b09

Browse files
committed
Merge pull request #70 from raulcf/master
Updating zmq_ctx_shutdown to zmq_ctx_destroy which is imported in zmq.h
2 parents 7f7c834 + 014628c commit 68a7b09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zmq.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ namespace zmq
408408

409409
inline void close() ZMQ_NOTHROW
410410
{
411-
int rc = zmq_ctx_shutdown (ptr);
411+
int rc = zmq_ctx_destroy (ptr);
412412
ZMQ_ASSERT (rc == 0);
413413
}
414414

0 commit comments

Comments
 (0)