Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Defend against bugs in SelectorFlagsMap
* Make `SelectorFlagsMap::apply_flags` private so it's easier to ensure it is called from the correct thread. * Clear the cache and the map at the same time; otherwise it leaves `SelectorFlagsMap` in an inconsistent state.
- Loading branch information