mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-29 20:59:47 +01:00
Bug fixed in pipe termination
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
This commit is contained in:
@@ -184,7 +184,7 @@ void zmq::pipe_t::flush ()
|
||||
if (state == terminating)
|
||||
return;
|
||||
|
||||
if (!outpipe->flush ())
|
||||
if (outpipe && !outpipe->flush ())
|
||||
send_activate_read (peer);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user