On Wed, Mar 6, 2019 at 4:45 PM 滚开 <stonedreamfor...@gmail.com> 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.