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