fix diagnosticSerivce lint error
This commit is contained in:
1 parent
d618a861e3
commit
7332b15242
1 file changed
+1
-2
@@ -24,8 +24,7 @@ export class DiagnosticService implements IDiagnosticService {
|
||||
* Clears performance marks after each measurement to prevent memory leaks.
|
||||
*/
|
||||
const obs = new PerformanceObserver((items) => {
|
||||
// Get the first entry but we don't need to store it
|
||||
items.getEntries()[0];
|
||||
items.getEntries();
|
||||
performance.clearMarks();
|
||||
});
|
||||
obs.observe({ entryTypes: ["measure"] });
|
||||
|
||||
Reference in new issue
Block a user