mirror of
https://github.com/usatiuk/dhfs.git
synced 2025-10-28 20:47:49 +01:00
nursery leak fix
This commit is contained in:
@@ -252,6 +252,7 @@ public class JObjectWriteback {
|
||||
|
||||
if (nurseryLimit > 0 && size >= nurseryLimit) {
|
||||
synchronized (_writeQueue) {
|
||||
_currentSize.addAndGet(size);
|
||||
_writeQueue.put(Pair.of(size, object.getName()), object);
|
||||
_writeQueue.notifyAll();
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user