Use notifyAll() instead of notify() on mDecodeRequestQueue
Resolve #549
This commit is contained in:
1 parent
8ba1ba4fb1
commit
45411fa14d
1 file changed
+1
-1
@@ -527,7 +527,7 @@ public final class SpiderQueen implements Runnable {
|
||||
synchronized (mDecodeRequestQueue) {
|
||||
if (!contain(mDecodeIndexArray, index) && !mDecodeRequestQueue.contains(index)) {
|
||||
mDecodeRequestQueue.add(index);
|
||||
mDecodeRequestQueue.notify();
|
||||
mDecodeRequestQueue.notifyAll();
|
||||
}
|
||||
}
|
||||
result = null;
|
||||
|
||||
Reference in new issue
Block a user