Hi Guys, I know every time calling Context.enter(), we must call Context.exit() after interpreting script. But I still have questions about that.
1. If I uses one dedicated thread to interpret script(this thread is reused), must I every time call Context.enter() before interpreting script and Context.exit() after interpreting script? Can I just call one time Context.enter() when start this thread, then this thread interprets many script. At last can I let this thread die by itself at last without calling Context.exit() 2. What does Context really do and what Rhino store in Context? Does it hold any resource, we have to call Context.exit() explicitly to release them. Thanks. nbruce _______________________________________________ dev-tech-js-engine-rhino mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino
