Skip to content

Commit

Permalink
bugfix JobExecutor thread name always android_0
Browse files Browse the repository at this point in the history
  • Loading branch information
YukiMatsumura committed Dec 2, 2015
1 parent 5e8dbba commit 3e312f7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ private static class JobThreadFactory implements ThreadFactory {
private int counter = 0;

@Override public Thread newThread(Runnable runnable) {
return new Thread(runnable, THREAD_NAME + counter);
return new Thread(runnable, THREAD_NAME + counter++);
}
}
}
}

0 comments on commit 3e312f7

Please sign in to comment.