Destruction of session is delayed till both in & out pipes are closed

This commit is contained in:
Martin Sustrik
2010-08-06 20:55:37 +02:00
parent 05d908492d
commit f77edfce26
3 changed files with 4 additions and 12 deletions

View File

@@ -130,11 +130,6 @@ void zmq::reader_t::terminate ()
send_pipe_term (writer);
}
bool zmq::reader_t::is_terminating ()
{
return terminating;
}
void zmq::reader_t::process_revive ()
{
// Forward the event to the sink (either socket or session).