diff options
| -rwxr-xr-x | src/router.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/router.cpp b/src/router.cpp index 05908b5..b7e19fb 100755 --- a/src/router.cpp +++ b/src/router.cpp @@ -260,7 +260,7 @@ bool zmq::router_t::xhas_in ()  {      if (prefetched)          return true; -    return fq.has_in (); +    return fq.has_in () || !pending_commands.empty();  }  bool zmq::router_t::xhas_out () | 
