[Chore](build) enable fallthrough check annd fix some fallthrough bug (#16748)
* enable fallthrough check annd fix some fallthrough bug * fix * fix
This commit is contained in:
@ -139,7 +139,7 @@ void ThreadPoolToken::shutdown() {
|
||||
break;
|
||||
}
|
||||
transition(State::QUIESCING);
|
||||
FALLTHROUGH_INTENDED;
|
||||
[[fallthrough]];
|
||||
case State::QUIESCING:
|
||||
// The token is already quiescing. Just wait for a worker thread to
|
||||
// switch it to QUIESCED.
|
||||
|
||||
Reference in New Issue
Block a user