Hi all,

I'm trying to use the private field of a v8::Object to store some data in 
it as shown here - https://github.com/nodejs/nan/issues/587.
I was wondering if it's safe to use because when I try to read the private 
field (Using FromJust() in the process), in the documentation 
<https://v8.paulfryzel.com/docs/master/classv8_1_1_maybe.html#a6c35f4870a5b5049d09ba5f13c67ede9>
 it 
says that v8 process will *crash* if *Maybe<> is nothing (empty).*
It would be really helpful if someone could tell what scenario will cause 
Maybe<> to become empty.

Also, I would like to know if the API under v8::Private namespace is safe 
to consume (by 'safe', I mean it shouldn't crash the v8 process, like the 
one above).

Thanks,
--Gautham

-- 
-- 
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