-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(cdk-tree): fix crash in test cases with max call stack
Fix crash in test cases " An error was thrown in afterAll. RangeError: Maximum call stack size exceeded." example: https://app.circleci.com/pipelines/github/angular/components/58166/workflows/cc9e4f5d-2182-44a5-89a6-56f93e196843/jobs/506030 Fix crash when happened in expandAll and collapseAll methods. Use direct value of `_flattenedNodes` rather than subscribing to avoid unnecessary subscription. Using the value directly is safe because `_flattenedNodes` is a synchronous cache.
- Loading branch information
Showing
2 changed files
with
8 additions
and
12 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