Make Runner.run() synchronized again, needed by wait()
This commit is contained in:
parent
e95169cfe6
commit
23efbd457d
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ public class Logging extends LogFactory {
|
||||||
*/
|
*/
|
||||||
static class Runner extends Thread {
|
static class Runner extends Thread {
|
||||||
|
|
||||||
public void run() {
|
public synchronized void run() {
|
||||||
long nextMidnight = nextMidnight();
|
long nextMidnight = nextMidnight();
|
||||||
|
|
||||||
while ((runner == this) && !isInterrupted()) {
|
while ((runner == this) && !isInterrupted()) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue