« Return to Thread: regarding BSFEngine.terminate

regarding BSFEngine.terminate

by Suresh Pendap :: Rate this Message:

| View in Thread

Hi guys,
 
If I run infinite loop in a jython script (in separate thread) and call BSFEninge.terminate from a separate thread it does not seem to terminate the jython script.
 
I see that the JythonEngine which is a BSFEngine implementation for the jython script does not override the terminate method
to actually terminate the jython script. We are using the 2.4 version of bsf and 2.1 version of jython.
 
Is this feature provided in the newer releases of BSF?
 
If not is there any other mechanism to kill the jython script running within the bean shell.
 
 
Thanks
Suresh

 

 « Return to Thread: regarding BSFEngine.terminate