Problem: unreachable code in io_thread_t::process_stop

Solution: replaced by assertion
This commit is contained in:
Simon Giesecke
2018-02-12 13:11:19 +01:00
parent 922053237f
commit a8e9032dc5

View File

@@ -112,8 +112,7 @@ zmq::poller_t *zmq::io_thread_t::get_poller ()
void zmq::io_thread_t::process_stop ()
{
if (mailbox_handle) {
zmq_assert (mailbox_handle);
poller->rm_fd (mailbox_handle);
}
poller->stop ();
}