mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-22 16:02:31 +02:00
fixes #1565: Allow session to flush commands on an engine error
This commit is contained in:
@@ -1417,6 +1417,13 @@ void zmq::socket_base_t::check_destroy ()
|
||||
}
|
||||
}
|
||||
|
||||
void zmq::socket_base_t::flush_commands ()
|
||||
{
|
||||
ENTER_MUTEX();
|
||||
process_commands (0, false);
|
||||
EXIT_MUTEX();
|
||||
}
|
||||
|
||||
void zmq::socket_base_t::read_activated (pipe_t *pipe_)
|
||||
{
|
||||
xread_activated (pipe_);
|
||||
|
Reference in New Issue
Block a user