> 1st question is why?  It's seems like needless complexity.
>

It's fundamentally unsafe to pass a persistent to a v8 api call.  This is 
why Persistent no longer extends Handle.
 

> 2nd question is what is the "correct" way to do this?
>

Local<WhateverType>::New(isolate, persistent);

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to