mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-06 05:00:07 +01:00
potential duplicate termination of pipes removed
This commit is contained in:
@@ -52,6 +52,7 @@ void zmq::lb_t::attach (writer_t *pipe_)
|
||||
|
||||
void zmq::lb_t::terminate ()
|
||||
{
|
||||
zmq_assert (!terminating);
|
||||
terminating = true;
|
||||
|
||||
if (pipes.empty ()) {
|
||||
|
||||
Reference in New Issue
Block a user