Commit a8e9032d authored by Simon Giesecke's avatar Simon Giesecke

Problem: unreachable code in io_thread_t::process_stop

Solution: replaced by assertion
parent 92205323
...@@ -112,8 +112,7 @@ zmq::poller_t *zmq::io_thread_t::get_poller () ...@@ -112,8 +112,7 @@ zmq::poller_t *zmq::io_thread_t::get_poller ()
void zmq::io_thread_t::process_stop () void zmq::io_thread_t::process_stop ()
{ {
if (mailbox_handle) { zmq_assert (mailbox_handle);
poller->rm_fd (mailbox_handle); poller->rm_fd (mailbox_handle);
}
poller->stop (); poller->stop ();
} }
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