On Wed, Dec 4, 2013 at 10:33 AM, Steve Jonghee Yun <[email protected]>wrote:

> From the example code, I think that all of tasks are done.
>

In general you don't care about leaks when the process is about to be
terminated, anyway, that's probably why lots of example code doesn't call
v8::V8::Dispose(). In the future we want to move away from all those static
methods in v8.h, anyway, introducing some kind of e.g. "Isolate factory"
(or whatever we will call it), so the life times will be much clearer.


> You said "Call v8::V8:Dispose() when you're done with v8"
> What does mean "done"?
>

"Done" = "I don't call anything on it anymore". After Dispose(), v8 is dead
and can't be used nor resurrected.


> Is there any difference with linux? (Linux has no leak.)
>

There are some tiny differences, IIRC some utility functions generated at
startup etc., but nothing big.

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