Commit 127c290
committed
Refactor
Added explicit null checks for `reply.Address` and `reply.Channel`.
This prevents potential NullReferenceException when these properties are not initialized.
This change ensures that the walker safely handles cases where optional fields might be missing, improving robustness of the code.AsyncApiWalker to ensure null checks before walking references1 parent 714f546 commit 127c290
1 file changed
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
587 | 587 | | |
588 | 588 | | |
589 | 589 | | |
590 | | - | |
591 | | - | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
592 | 599 | | |
593 | 600 | | |
594 | 601 | | |
| |||
1211 | 1218 | | |
1212 | 1219 | | |
1213 | 1220 | | |
1214 | | - | |
| 1221 | + | |
0 commit comments