Commit f9d23143 authored by Luca Boccassi's avatar Luca Boccassi Committed by GitHub

Merge pull request #2251 from hnwyllmm/master

misuse of 'close'
parents 90528626 a4e448d5
......@@ -55,7 +55,7 @@ zmq::pollset_t::~pollset_t ()
// Wait till the worker thread exits.
worker.stop ();
close (pollset_fd);
pollset_destroy (pollset_fd);
for (retired_t::iterator it = retired.begin (); it != retired.end (); ++it)
LIBZMQ_DELETE(*it);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment