From 87655b0b9d9121465e0b2ea1976b0879b1b1f756 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Tue, 24 Aug 2010 09:57:15 +0200 Subject: listener object unregisters its fd correctly --- src/zmq_engine.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/zmq_engine.cpp') 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 () -- cgit v1.2.3