mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-10 07:56:09 +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)
|
if (state == terminating)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (!outpipe->flush ())
|
if (outpipe && !outpipe->flush ())
|
||||||
send_activate_read (peer);
|
send_activate_read (peer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user