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:
parent
e365ce4c63
commit
a6eb8d62ca
1 changed files with 4 additions and 1 deletions
|
@ -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 ();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue