mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-15 02:07:59 +08:00
ZMQII-24: SEGFAULT when anonymous session disconnects
This commit is contained in:
parent
c2e0661b0a
commit
14f2fecdcd
@ -81,7 +81,11 @@ void zmq::reader_t::term ()
|
||||
|
||||
void zmq::reader_t::process_revive ()
|
||||
{
|
||||
endpoint->revive (this);
|
||||
// Beacuse of command throttling mechanism, incoming termination request
|
||||
// may not have been processed before subsequent send.
|
||||
// In that case endpoint is NULL.
|
||||
if (endpoint)
|
||||
endpoint->revive (this);
|
||||
}
|
||||
|
||||
void zmq::reader_t::process_pipe_term_ack ()
|
||||
|
Loading…
x
Reference in New Issue
Block a user