Reputation: 171
I understand that isolate->terminateExecution()
only terminates the current thread. I've seen some suggestions on using v8::Locker
to have to propagate and terminate all threads, however I'm unsure how this should work.
I'm running v8 version 8.1.
Upvotes: 0
Views: 149
Reputation: 40786
Only one thread can be active in an Isolate at any time, so there is only one thread to terminate.
If your application has several threads, then there are two possible scenarios:
TerminateExecution
individually.Upvotes: 1