diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2014-03-15 01:12:53 +0100 |
---|---|---|
committer | Fedor Indutny <fedor.indutny@gmail.com> | 2014-03-16 16:15:34 +0400 |
commit | e87ceb2b427a9b51a55af5898c2ef24b4cc08af2 (patch) | |
tree | 37e51a84fd1871dc1e636b05d9af44895a1ba2e1 /src/node_provider.d | |
parent | ad15d75750d4482a752b84f3e599c6c6d16203e9 (diff) | |
download | node-new-e87ceb2b427a9b51a55af5898c2ef24b4cc08af2.tar.gz |
src: fix up smalloc weak persistent usage
Fix a regression that was introduced in commit ce04c726 after the
upgrade to V8 3.24.
The new weak persistent handle API no longer gives you the original
persistent but still requires that you clear it inside your weak
callback.
Rearrange the code in src/smalloc.cc to keep track of the persistent
handle with the least amount of pain and try hard to share as much
code as possible between the 'just free it' and 'invoke my callback'
versions of the smalloc API.
Fixes #7309.
Diffstat (limited to 'src/node_provider.d')
0 files changed, 0 insertions, 0 deletions