On Thu, Jun 9, 2011 at 11:33 PM, CodeJunkie <[email protected]> wrote:
> In other words, you have to go out of your way to delete C++ objects
> which would most likely mean that you would have to have your own
> memory management scheme to deal with it. So this means V8 is geared
> more towards browsers than for general purpose use and should really...
>
It is a disappointing detail, yes, but there is a way to force GC at app
shutdown:
while( !v8::V8::IdleNotification() )
{
}
that will stop looping when v8 says there is nothing left to clean up.
--
----- stephan beal
http://wanderinghorse.net/home/stephan/
--
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users