Use notifyAll() instead of notify() on mDecodeRequestQueue

Resolve #549
This commit is contained in:
FooIbar authored and tarsin committed 2022-12-19 08:13:31 +08:00
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;