Kill Threads the hard way when timeouts occurr.

Eventually, we might want to add a method in the ScriptingEngine
interface for that purpose, i.e. to let scripting engines kill threads in
a soft + specific way.
This commit is contained in:
hns 2002-06-27 14:19:59 +00:00
parent e365ce4c63
commit a6eb8d62ca

View file

@ -608,6 +608,9 @@ public final class RequestEvaluator implements Runnable {
try { try {
t.abort (); t.abort ();
} catch (Exception ignore) {} } catch (Exception ignore) {}
try {
t.stop ();
} catch (Exception ignore) {}
} else { } else {
notifyAll (); notifyAll ();
} }