Skip to content

Commit

Permalink
msgq_all_readers_updated: only return true when at least one reader i…
Browse files Browse the repository at this point in the history
…s connected
  • Loading branch information
pd0wm committed May 5, 2021
1 parent 3be0bf5 commit 9d83b15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion messaging/msgq.cc
Original file line number Diff line number Diff line change
Expand Up @@ -460,5 +460,5 @@ bool msgq_all_readers_updated(msgq_queue_t *q) {
return false;
}
}
return true;
return num_readers > 0;
}

0 comments on commit 9d83b15

Please sign in to comment.