On Thu, Jun 26, 2014 at 6:41 PM, Jane Chen <
jxch...@gmail.com> wrote:
> Thanks Ben. I saw it and was thinking that could be my last resort.
>
> Does terminateExecution tear down the isolate or just terminate execution of
> one script? Do my cached persistent handles survive a terminateExecution?
Just the currently executing script. You can reenter the VM (i.e. the
isolate) again after cancelling termination. Any strong persistent
handles you have will stay around. I believe weak ones won't get
garbage collected either while the termination exception is in effect
but I'm not 100% sure about that.