Skip to content

Commit

Permalink
add else
Browse files Browse the repository at this point in the history
  • Loading branch information
FeixLiu committed Nov 26, 2021
1 parent 40e594f commit 8b881ac
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions paddle/fluid/distributed/fleet_executor/interceptor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ void Interceptor::Handle(const InterceptorMessage& msg) {
InterceptorMessage msg;
msg.set_message_type(STOP);
Send(interceptor_id_, msg);
}
if (msg.message_type() == STOP) {
} else if (msg.message_type() == STOP) {
stop_ = true;
StopCarrier();
}
Expand Down

0 comments on commit 8b881ac

Please sign in to comment.