Commit 819071f
authored
Release a SeparatedSyntaxListBuilder back to the SyntaxListPool (#76635)
I noticed this when looking at the SyntaxListPool and that it's allocated debug info was not reducing back to zero. The early return codepaths earlier in the method are commonly hit avoiding the current code from releasing "variables" back into the pool. Changed to account for the early returns by utilizing the existing finally block similar to what is done for the "mods" pooled item.1 parent 3e85c6a commit 819071f
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10123 | 10123 | | |
10124 | 10124 | | |
10125 | 10125 | | |
10126 | | - | |
| 10126 | + | |
10127 | 10127 | | |
10128 | 10128 | | |
10129 | 10129 | | |
10130 | 10130 | | |
| 10131 | + | |
10131 | 10132 | | |
10132 | 10133 | | |
10133 | 10134 | | |
| |||
0 commit comments