Make runner variable volatile.
This commit is contained in:
parent
107aaa6a59
commit
5bc692e923
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ import java.util.*;
|
|||
public class Logging extends LogFactory {
|
||||
|
||||
// we use one static thread for all Loggers
|
||||
static Runner runner;
|
||||
static volatile Runner runner;
|
||||
|
||||
// the list of active loggers
|
||||
static ArrayList loggers = new ArrayList();
|
||||
|
|
Loading…
Add table
Reference in a new issue