changed EventThread to extend daemon property from parent thread
This commit is contained in:
@@ -20,6 +20,7 @@ public class EventThread extends Thread {
|
|||||||
public Thread newThread(Runnable runnable) {
|
public Thread newThread(Runnable runnable) {
|
||||||
thread = new EventThread(runnable);
|
thread = new EventThread(runnable);
|
||||||
thread.setName("EventThread");
|
thread.setName("EventThread");
|
||||||
|
thread.setDaemon(Thread.currentThread().isDaemon());
|
||||||
return thread;
|
return thread;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user