context_t close no longer uses deprecated function

This commit is contained in:
Joshua Luckel 2021-05-13 10:27:09 +10:00
parent b65dde8725
commit 6ad0aceac5

View File

@ -851,7 +851,7 @@ class context_t
int rc;
do {
rc = zmq_ctx_destroy(ptr);
rc = zmq_ctx_term(ptr);
} while (rc == -1 && errno == EINTR);
ZMQ_ASSERT(rc == 0);