Merge pull request #490 from jlucke86/deprecated-shutdown

context_t close no longer uses deprecated function
This commit is contained in:
Simon Giesecke 2021-05-14 17:45:47 +02:00 committed by GitHub
commit 17ac458468
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);