potential duplicate termination of pipes removed

This commit is contained in:
Martin Sustrik
2010-09-18 06:42:46 +02:00
parent c7b9ba3ccd
commit 0c215fada4
3 changed files with 2 additions and 10 deletions

View File

@@ -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 ()) {