Hi all,

is there an elegant way to interrupt and abort the execution of a long
running script that was started with Context.evaluateString() ?

I know that I could override ContextFactory.observeInstructionCount()
and throw an Error but what I am actually looking for is a more
elegant and direct way to abort the script immediately from a
different thread, so that evaluateString() returns. This should also
work if the script execution is suspended on a blocking call.

Thanks for any hint.

Wernke
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to