Commit 7fd6ab9
authored
fix: end TransportConnect profiler marker on early returns in ConnectEventHandler (#4005)
BeginSample was called at the top of ConnectEventHandler but two early
return paths (duplicate server transport ID and duplicate client connect
event) exited without calling EndSample, causing the 'Missing
Profiler.EndSample' error surfaced by the MultipleConnectMessagesNoop
playmode tests.1 parent c48f54d commit 7fd6ab9
1 file changed
Lines changed: 6 additions & 0 deletions
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
522 | 522 | | |
523 | 523 | | |
524 | 524 | | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
525 | 528 | | |
526 | 529 | | |
527 | 530 | | |
| |||
536 | 539 | | |
537 | 540 | | |
538 | 541 | | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
539 | 545 | | |
540 | 546 | | |
541 | 547 | | |
| |||
0 commit comments