diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2011-06-20 08:21:00 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2011-06-20 08:21:00 +0200 |
commit | c80908c469b1fbd3d1b639ea39d86e4e4311ae57 (patch) | |
tree | a8818e7f20a12252f1c62abcd32fc2c71473399f | |
parent | 7572fee979a1cc2a874dd5621c89a0e849b65816 (diff) |
Bug fixed in pipe termination
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-rw-r--r-- | src/pipe.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pipe.cpp b/src/pipe.cpp index 20c7f69..9d9614b 100644 --- a/src/pipe.cpp +++ b/src/pipe.cpp @@ -184,7 +184,7 @@ void zmq::pipe_t::flush () if (state == terminating) return; - if (!outpipe->flush ()) + if (outpipe && !outpipe->flush ()) send_activate_read (peer); } |