Skip to content

Commit

Permalink
Merge pull request #490 from jlucke86/deprecated-shutdown
Browse files Browse the repository at this point in the history
context_t close no longer uses deprecated function
  • Loading branch information
sigiesec committed May 14, 2021
2 parents b65dde8 + 6ad0ace commit 17ac458
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zmq.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 17ac458

Please sign in to comment.