Skip to content

Commit

Permalink
Fixed ordering in adding pending picks to RR
Browse files Browse the repository at this point in the history
  • Loading branch information
dgquintas committed Jul 6, 2018
1 parent 252d3f3 commit c53f8df
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -354,11 +354,11 @@ bool RoundRobin::PickLocked(PickState* pick) {
if (DoPickLocked(pick)) return true;
}
/* no pick currently available. Save for later in list of pending picks */
pick->next = pending_picks_;
pending_picks_ = pick;
if (!started_picking_) {
StartPickingLocked();
}
pick->next = pending_picks_;
pending_picks_ = pick;
return false;
}

Expand Down

0 comments on commit c53f8df

Please sign in to comment.