Commit 013fa59
perf_hooks: fix PerformanceObserver 'gc' crash
Signed-off-by: James M Snell <jasnell@gmail.com>
Fixes: #38412
PR-URL: #38414
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>1 parent 4f6c4eb commit 013fa59Copy full SHA for 013fa59
File tree
Expand file treeCollapse file tree
2 files changed
+23
-1
lines changedOpen diff view settings
Filter options
- lib/internal/perf
- test/parallel
Expand file treeCollapse file tree
2 files changed
+23
-1
lines changedOpen diff view settings
Collapse file
lib/internal/perf/observe.js
Copy file name to clipboardExpand all lines: lib/internal/perf/observe.js+6-1Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
72 | 72 | |
73 | 73 | |
74 | 74 | |
| 75 | + |
| 76 | + |
75 | 77 | |
76 | 78 | |
77 | 79 | |
| ||
124 | 126 | |
125 | 127 | |
126 | 128 | |
127 | | - |
| 129 | + |
| 130 | + |
128 | 131 | |
| 132 | + |
| 133 | + |
129 | 134 | |
130 | 135 | |
131 | 136 | |
|
Collapse file
test/parallel/test-performanceobserver-gc.js
Copy file name to clipboard+17Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
0 commit comments