Merge pull request #2251 from hnwyllmm/master

misuse of 'close'
This commit is contained in:
Luca Boccassi 2016-12-13 12:43:07 +01:00 committed by GitHub
commit f9d231437a

View File

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