[v8-users] how to preserve a Persistent to a WeakCallbackReference

Mon, 26 Jul 2010 14:05:03 -0700

I took a quick look at some simple collector functionality to have
some memory leaks in JS able to be resolved and am having trouble
finding out how to preserve Object references in the void* that
WeakCallbackReferences provide. I have made a gist of it. If someone
could explain why casting a pointer to a Persistent does not work,
that would be lovely.

http://gist.github.com/491221

Cheers,
Bradley

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to