On Thu, Mar 7, 2019 at 2:39 PM helloev <stonedreamfor...@gmail.com> wrote:
> So here we don't need to release resources? If need to release it, what 
> should we do?

The process is terminating so any resources will be reclaimed anyway
but if you want to reclaim them manually, use proper scoping:

  int main() {
    // ...
    {
      Isolate::Scope isolate_scope(isolate);
      // ...
    }  // closes the isolate scope
    isolate->Dispose();
    // ...
  }

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