diff options
Diffstat (limited to 'src/socket_base.cpp')
-rw-r--r-- | src/socket_base.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/socket_base.cpp b/src/socket_base.cpp index 59e2653..2b1d8af 100644 --- a/src/socket_base.cpp +++ b/src/socket_base.cpp @@ -233,7 +233,7 @@ void zmq::socket_base_t::attach_pipe (pipe_t *pipe_, // straight away. if (is_terminating ()) { register_term_acks (1); - pipe_->terminate (); + pipe_->terminate (false); } } @@ -740,7 +740,7 @@ void zmq::socket_base_t::process_term (int linger_) // Ask all attached pipes to terminate. for (pipes_t::size_type i = 0; i != pipes.size (); ++i) - pipes [i]->terminate (); + pipes [i]->terminate (false); register_term_acks (pipes.size ()); // Continue the termination process immediately. |