Maybe I'm just really not understanding the script compilation process..

On Saturday, October 1, 2016 at 5:35:45 PM UTC-7, Zac Hansen wrote:
>
> My understanding is a v8::Local<T> is only valid within a handlescope, so 
> if you store one in an object, that object is then only valid within a 
> handlescope, right?
>
> For example, ScriptOrigin stores all its parameters as Local's:
>
> http://v8.paulfryzel.com/docs/master/include_2v8_8h_source.html#l01028
>
> and then when I call for the ScriptID later, it's no longer valid and I 
> get a memory error.  Am I missing something about v8::Local?  or something 
> about how to use ScriptOrigin?  Other types, like Script has a 
> v8::Local<v8::UnboundScript>.. same question.   
>
> Thank you.
>
> --Zac
>

-- 
-- 
v8-users mailing list
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to