Commit 5e5bf75
authored
Fix logging setup/teardown order (#11901)
Reorder ProjectBuildLogAppender registration in LookupInvoker so that
it is added to the closeables list after the terminal setup. Since
closeables are closed in reverse order (LIFO), this ensures the log
sink is deregistered before the terminal is torn down, preventing
StackOverflowErrors during shutdown.
Closes #119011 parent f101f3f commit 5e5bf75
1 file changed
Lines changed: 5 additions & 5 deletions
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | 314 | | |
320 | 315 | | |
321 | 316 | | |
322 | 317 | | |
323 | 318 | | |
324 | 319 | | |
325 | 320 | | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
| |||
0 commit comments