Do not call stop() method on threads when aborting a transaction.
The method is deprecated, and it seemed to leave db connections in an unreclaimable state.
This commit is contained in:
parent
921e4787cb
commit
06430a62e8
1 changed files with 2 additions and 3 deletions
|
@ -608,9 +608,8 @@ public final class RequestEvaluator implements Runnable {
|
||||||
try {
|
try {
|
||||||
t.abort ();
|
t.abort ();
|
||||||
} catch (Exception ignore) {}
|
} catch (Exception ignore) {}
|
||||||
try {
|
// FIXME: do not call deprecated method stop() on threads -
|
||||||
t.stop ();
|
// do we need a substitute for it?
|
||||||
} catch (Exception ignore) {}
|
|
||||||
} else {
|
} else {
|
||||||
notifyAll ();
|
notifyAll ();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue