From 0c215fada4f448788069e42bda34609f74c8b64b Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Sat, 18 Sep 2010 06:42:46 +0200 Subject: potential duplicate termination of pipes removed --- src/socket_base.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/socket_base.cpp') diff --git a/src/socket_base.cpp b/src/socket_base.cpp index 288a627..621f2f5 100644 --- a/src/socket_base.cpp +++ b/src/socket_base.cpp @@ -703,16 +703,6 @@ void zmq::socket_base_t::process_stop () void zmq::socket_base_t::process_bind (reader_t *in_pipe_, writer_t *out_pipe_, const blob_t &peer_identity_) { - // If the socket is already being shut down, the termination process on - // the new pipes is started immediately. However, they are still attached - // as to let the process finish in a decent manner. - if (unlikely (zombie)) { - if (in_pipe_) - in_pipe_->terminate (); - if (out_pipe_) - out_pipe_->terminate (); - } - attach_pipes (in_pipe_, out_pipe_, peer_identity_); } -- cgit v1.2.3