mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
signal about time to load more bytes when we have less than max_size_of_ bytes
This commit is contained in:
@@ -259,7 +259,7 @@ public class FileContentQueue {
|
||||
|
||||
synchronized (myProceedWithLoadingLock) {
|
||||
myLoadedBytesInQueue -= result.getLength();
|
||||
myProceedWithLoadingLock.notifyAll(); // we actually ask only content loading thread to proceed, so there should not be much difference with plain notify
|
||||
if (myLoadedBytesInQueue < MAX_SIZE_OF_BYTES_IN_QUEUE) myProceedWithLoadingLock.notifyAll(); // we actually ask only content loading thread to proceed, so there should not be much difference with plain notify
|
||||
}
|
||||
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user