We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a797c56 commit 3c244fbCopy full SHA for 3c244fb
rxjava-core/src/main/java/rx/schedulers/NewThreadScheduler.java
@@ -40,7 +40,9 @@ public class NewThreadScheduler extends Scheduler {
40
41
@Override
42
public Thread newThread(Runnable r) {
43
- return new Thread(r, "RxNewThreadScheduler-" + count.incrementAndGet());
+ Thread t = new Thread(r, "RxNewThreadScheduler-" + count.incrementAndGet());
44
+ t.setDaemon(true);
45
+ return t;
46
}
47
};
48
0 commit comments