Commit 80e529a1 authored by Luca Boccassi's avatar Luca Boccassi

Problem: all tests fail with assert in in_event

Solution: socket_base_t::in_event cannot do anything useful with
return status of process_commands. Asserting is the wrong solution,
as it is entirely valid to be interrupted or for the context to be
terminated, so discard the value.
parent ae8efc21
......@@ -1503,9 +1503,8 @@ void zmq::socket_base_t::in_event ()
if (thread_safe)
reaper_signaler->recv();
int rc = process_commands (0, false);
process_commands (0, false);
EXIT_MUTEX();
errno_assert(rc == 0);
check_destroy();
}
......
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