perf_hooks,http2: add clearEntries to remove http2 entries
Add missing clearHttp2 method to perf_hooks.performance
to
remove the http2 entries from the master timeline to prevent
that from being a memory leak.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines
Affected core subsystem(s)
http2, perf_hooks