diff options
author | Anna Henningsen <anna@addaleax.net> | 2018-10-24 11:56:26 +0300 |
---|---|---|
committer | Michaƫl Zasso <targos@protonmail.com> | 2018-11-01 23:47:11 +0300 |
commit | fef17b716d2c54818504f64646df1ac5c1f5b68d (patch) | |
tree | 5dbce1d1abb100c93ef15c95d97e5dc343ff0495 /deps | |
parent | 22caa26c695df2fdbef38da919aa0a41e7265403 (diff) |
src: avoid extra `Persistent` in `DefaultTriggerAsyncIdScope`
Instead of getting a reference to the main `AliasedBuffer`, which
would always unnecesarily allocate and destroy a `Persistent`
handle, store and use a reference to the owning object.
PR-URL: https://github.com/nodejs/node/pull/23844
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Matheus Marchini <mat@mmarchini.me>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Diffstat (limited to 'deps')
0 files changed, 0 insertions, 0 deletions