From 0c215fada4f448788069e42bda34609f74c8b64b Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Sat, 18 Sep 2010 06:42:46 +0200 Subject: potential duplicate termination of pipes removed --- src/lb.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lb.cpp') diff --git a/src/lb.cpp b/src/lb.cpp index e0c2c04..7b3339c 100644 --- a/src/lb.cpp +++ b/src/lb.cpp @@ -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 ()) { -- cgit v1.2.3