-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: safely handle nested removal of menu routes (#19885)
MenuRegistry.filterClientViews removes inaccessible routes and their child routes. When iterating the list of all routes, a NPE can occur if a child route has already been removed together with its parent route. Add a check that prevents NPE for removed children.
- Loading branch information
1 parent
b00b97c
commit c120a07
Showing
2 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters