diff --git a/src/pipe.cpp b/src/pipe.cpp index da312ab0..23f59a50 100644 --- a/src/pipe.cpp +++ b/src/pipe.cpp @@ -189,10 +189,6 @@ void zmq::pipe_t::rollback () void zmq::pipe_t::flush () { - // If terminate() was already called do nothing. - if (state == terminated || state == double_terminated) - return; - // The peer does not exist anymore at this point. if (state == terminating) return;