On Tue, Feb 11, 2014 at 10:37 PM, Kevin Ingwersen
<[email protected]> wrote:
> Hey there.
>
> I am working on a rather tricky implementation. Currently, I am designing a 
> NodeJS module, that will grant access and bindings to CEF. So far, I can 
> start CEF from nodejs easily. But what I want to do is, to mirror an object 
> between nodejs and the CEF browser.
> Due to some trickery and find-outs, I was able to use the bare v8 that comes 
> with libcef. So, I can now use the actual v8 engine, no problem. But I am 
> worried about something.
>
> So, I had this idea of creating a global variable - which is a 
> v8::Persistent<v8::Object>. I dont know when, and how, those persistents are 
> destroyed.
>
> What would you suggest would be the best way to keep a real persistent v8 
> object between two v8 engines? I am currently using CEF with v8 3.22 and 
> Nodejs 0.11 with v8 3.21 - so that their API matches at least clsoely. x3 The 
> original project was started with nodejs 0.10 - but it has v8 3.14 O.O!
>
> Kind regards, Ingwie

I'm not entirely sure what your question is.  If you're wondering how
to destroy a persistent handle, that's what the Dispose() or Reset()
method is for.  (The method was renamed in recent V8 versions.)

-- 
-- 
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/groups/opt_out.

Reply via email to