Skip to content

Commit a6cf45f

Browse files
committed
fix(web-performance): clear resource timings after reading
1 parent 58302ed commit a6cf45f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/apm.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ export function getPerformanceData() {
106106
paint: getPerformanceEntriesByType('paint'),
107107
resource: getPerformanceEntriesByType('resource'),
108108
}
109+
window?.performance?.clearResourceTimings()
109110

110111
const properties = {}
111112

0 commit comments

Comments
 (0)