changed EventThread to extend daemon property from parent thread

This commit is contained in:
Vachagan Balayan
2016-07-01 14:55:22 +08:00
parent 330bf99dc3
commit f119063af7

View File

@@ -20,6 +20,7 @@ public class EventThread extends Thread {
public Thread newThread(Runnable runnable) {
thread = new EventThread(runnable);
thread.setName("EventThread");
thread.setDaemon(Thread.currentThread().isDaemon());
return thread;
}
};