mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-09 23:36:04 +00:00
Bug fixed in pipe termination
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
This commit is contained in:
parent
7572fee979
commit
c80908c469
@ -184,7 +184,7 @@ void zmq::pipe_t::flush ()
|
||||
if (state == terminating)
|
||||
return;
|
||||
|
||||
if (!outpipe->flush ())
|
||||
if (outpipe && !outpipe->flush ())
|
||||
send_activate_read (peer);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user