mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-30 13:47:13 +01:00
ZMQII-1: fix for devpoll, kqueue & poll
This commit is contained in:
@@ -42,10 +42,11 @@ zmq::kqueue_t::kqueue_t ()
|
||||
|
||||
zmq::kqueue_t::~kqueue_t ()
|
||||
{
|
||||
worker.stop ();
|
||||
|
||||
// Make sure there are no fds registered on shutdown.
|
||||
zmq_assert (load.get () == 0);
|
||||
|
||||
worker.stop ();
|
||||
close (kqueue_fd);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user