Skip to content

Commit

Permalink
#1910: Break out early
Browse files Browse the repository at this point in the history
  • Loading branch information
lifflander authored and stmcgovern committed Aug 23, 2022
1 parent 397dc80 commit 8b3b6dc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/vt/messaging/active.cc
Original file line number Diff line number Diff line change
Expand Up @@ -654,6 +654,10 @@ bool ActiveMessenger::recvDataMsg(
}

bool ActiveMessenger::tryProcessDataMsgRecv() {
if (pending_recvs_.size() == 0) {
return false;
}

bool erase = false;
auto iter = pending_recvs_.begin();

Expand Down

0 comments on commit 8b3b6dc

Please sign in to comment.