Commit e65fa39
authored
fix: onParserTimeout potentially accessing undefined (#4758)
In cases where onParserTimeout is called with a weak reference that has
already been collected it was throwing an error like:
Cannot destructure property 'socket' of 'parser.deref(...)' as it is
undefined
- Fixes #47551 parent f1d50a2 commit e65fa39
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
735 | 735 | | |
736 | 736 | | |
737 | 737 | | |
738 | | - | |
739 | | - | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
740 | 745 | | |
741 | 746 | | |
742 | 747 | | |
| |||
0 commit comments