Commit c80908c4 authored by Martin Sustrik's avatar Martin Sustrik

Bug fixed in pipe termination

Signed-off-by: 's avatarMartin Sustrik <sustrik@250bpm.com>
parent 7572fee9
...@@ -184,7 +184,7 @@ void zmq::pipe_t::flush () ...@@ -184,7 +184,7 @@ void zmq::pipe_t::flush ()
if (state == terminating) if (state == terminating)
return; return;
if (!outpipe->flush ()) if (outpipe && !outpipe->flush ())
send_activate_read (peer); send_activate_read (peer);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment