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 6981878 commit 66814c6Copy full SHA for 66814c6
library/src/main/java/com/liulishuo/filedownloader/services/FileDownloadThreadPool.java
@@ -114,7 +114,7 @@ private synchronized void filterOutNoExist() {
114
for (int i = 0; i < size; i++) {
115
final int key = runnablePool.keyAt(i);
116
final DownloadLaunchRunnable runnable = runnablePool.get(key);
117
- if (runnable.isAlive()) {
+ if (runnable != null && runnable.isAlive()) {
118
correctedRunnablePool.put(key, runnable);
119
}
120
0 commit comments