Mark the executor tasks as daemon so that they don't hold up the JVM when it's
time to exit. git-svn-id: https://samskivert.googlecode.com/svn/trunk@1747 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -101,6 +101,7 @@ public class SerialExecutor
|
|||||||
{
|
{
|
||||||
public ExecutorThread (ExecutorTask task)
|
public ExecutorThread (ExecutorTask task)
|
||||||
{
|
{
|
||||||
|
setDaemon(true);
|
||||||
_task = task;
|
_task = task;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user