Commit 45475743 authored by Anatoli Papirovski's avatar Anatoli Papirovski Committed by Rich Trott
Browse files

perf_hooks: remove unnecessary bind

Pass through parameters using setImmediate rather
than using Function.prototype.bind to bind the
provided context.

PR-URL: https://github.com/nodejs/node/pull/28131


Reviewed-By: default avatarLuigi Pinca <luigipinca@gmail.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
Reviewed-By: default avatarRich Trott <rtrott@gmail.com>
Reviewed-By: default avatarTobias Nießen <tniessen@tnie.de>
Reviewed-By: default avatarRuben Bridgewater <ruben@bridgewater.de>
parent fea1f1cb
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment