diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2010-08-24 09:57:15 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2010-08-25 15:39:21 +0200 |
commit | 87655b0b9d9121465e0b2ea1976b0879b1b1f756 (patch) | |
tree | 278a42d4dc6b3560ba5f11d20c6b81afb5cc13a2 /src/zmq_engine.cpp | |
parent | 0d5f3ebbdad12a63e7cc28c53c38d750761a75e3 (diff) |
listener object unregisters its fd correctly
Diffstat (limited to 'src/zmq_engine.cpp')
-rw-r--r-- | src/zmq_engine.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/zmq_engine.cpp b/src/zmq_engine.cpp index 6551bc3..3e98c53 100644 --- a/src/zmq_engine.cpp +++ b/src/zmq_engine.cpp @@ -62,15 +62,12 @@ void zmq::zmq_engine_t::plug (io_thread_t *io_thread_, i_inout *inout_) // Connect to I/O threads poller object. io_object_t::plug (io_thread_); - handle = add_fd (tcp_socket.get_fd ()); set_pollin (handle); set_pollout (handle); // Flush all the data that may have been already received downstream. in_event (); - - // TODO: Re-plug to the new I/O thread & poller! } void zmq::zmq_engine_t::unplug () |