Commit 8253eab
authored
Allow DiagnosticsBuffer to be applied even if DiagnosticsStore is missing. (#21550)
# Objective
- Workaround #21549.
## Solution
- Avoid panicking in `DiagnosticsBuffer::apply` if the world is missing
the `DiagnosticsStore`.
- Clear the buffer if `DiagnosticsStore` is missing to prevent growing
the buffer.
## Testing
- None.1 parent 16a6a96 commit 8253eab
1 file changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
381 | 381 | | |
382 | 382 | | |
383 | 383 | | |
384 | | - | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
385 | 395 | | |
386 | 396 | | |
387 | 397 | | |
| |||
0 commit comments