Skip to content

Commit

Permalink
need to wait for reconnect/new messages to arrive when failure happens
Browse files Browse the repository at this point in the history
Signed-off-by: Chen Lihui <lihui.chen@sony.com>
  • Loading branch information
Chen Lihui committed Oct 12, 2020
1 parent b33f248 commit 57c9143
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions clients/roscpp/src/libros/service_server_link.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,6 @@ void ServiceServerLink::onResponseOkAndLength(const ConnectionPtr& conn, const b
{
{
boost::mutex::scoped_lock lock(call_queue_mutex_);
current_call_->finished_ = true;
current_call_->finished_condition_.notify_all();
current_call_->call_finished_ = true;
}
ROS_ERROR("a message of over a gigabyte was " \
Expand Down Expand Up @@ -240,8 +238,6 @@ void ServiceServerLink::onResponse(const ConnectionPtr& conn, const boost::share
if (!success) {
{
boost::mutex::scoped_lock lock(call_queue_mutex_);
current_call_->finished_ = true;
current_call_->finished_condition_.notify_all();
current_call_->call_finished_ = true;
}
return;
Expand Down

0 comments on commit 57c9143

Please sign in to comment.