mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 21:58:48 +02:00
src: make ELDHistogram a HandleWrap
This simplifies the implementation of ELDHistogram a bit, and more generally allows us to have weak JS references associated with `HandleWrap`s. PR-URL: https://github.com/nodejs/node/pull/29317 Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
1e01f3f022
commit
0af62aae07
6 changed files with 33 additions and 34 deletions
|
@ -50,6 +50,7 @@ const { getSystemErrorName } = require('util');
|
|||
delete providers.KEYPAIRGENREQUEST;
|
||||
delete providers.HTTPCLIENTREQUEST;
|
||||
delete providers.HTTPINCOMINGMESSAGE;
|
||||
delete providers.ELDHISTOGRAM;
|
||||
|
||||
const objKeys = Object.keys(providers);
|
||||
if (objKeys.length > 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue