mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-30 13:47:13 +01:00
Problem: unreachable code in io_thread_t::process_stop
Solution: replaced by assertion
This commit is contained in:
@@ -112,8 +112,7 @@ zmq::poller_t *zmq::io_thread_t::get_poller ()
|
||||
|
||||
void zmq::io_thread_t::process_stop ()
|
||||
{
|
||||
if (mailbox_handle) {
|
||||
poller->rm_fd (mailbox_handle);
|
||||
}
|
||||
zmq_assert (mailbox_handle);
|
||||
poller->rm_fd (mailbox_handle);
|
||||
poller->stop ();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user