So here we don't need to release resources? If need to release it, what 
should we do?

I saw the scope here:
https://github.com/v8/v8/blob/4d39e3427824fafa35a6bfcdb23b05cd9c2db67d/samples/hello-world.cc#L37

I tried to do it like this and still failed. 

On Thursday, March 7, 2019 at 6:03:29 PM UTC+8, Ben Noordhuis wrote:
>
> On Wed, Mar 6, 2019 at 4:45 PM 滚开 <stonedre...@gmail.com <javascript:>> 
> wrote: 
> > i just add: 
> > ``` 
> > isolate->Dispose(); 
> > v8::V8::Dispose(); 
> > v8::V8::ShutdownPlatform(); 
> > delete create_params.array_buffer_allocator; 
> > ``` 
> > after 
> https://github.com/v8/v8/blob/4d39e3427824fafa35a6bfcdb23b05cd9c2db67d/samples/process.cc#L732
>  
> > 
> > i want Dispose the isolate and tear down V8. 
> > 
> > Not allowed here? why? 
>
>
> https://github.com/v8/v8/blob/4d39e3427824fafa35a6bfcdb23b05cd9c2db67d/samples/process.cc#L717
>  
> - the isolate is still entered (i.e., active) at that point. 
>

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
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 v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to