On Tue, Aug 11, 2020 at 5:56 PM Ran Aizen <abbshrsou...@gmail.com> wrote: > From your answer, I guess that v8 no longer maintaining the execution context > after "isolate->TerminateExecution" and cleanup the stack frame, so we can't > continue the execution from where we stopped?
That's right. Think of it like this: your C++ code calls into the VM and the VM can call out to your code. It's not safe to call isolate->Exit() as long as there are VM stack frames on the call stack. isolate->TerminateExecution() works because it unwinds the VM stack and returns control to your C++ code. -- -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-users/CAHQurc9krE_Bx%2BJsRcN6cTi_YRwkoZ5eW8YeiXHwdRjJRFc5_A%40mail.gmail.com.