mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-09 15:26:04 +00:00
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.
This commit is contained in:
parent
ae8efc21e8
commit
80e529a16a
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user