this.flags was not set, resulting in the default .init for QueuePolicy being used and enforcing LENGHT_CAPPING by default even when default behaviour should be not to, per the constructors (this()'s) parameters
This commit is contained in:
parent
ad99ef63d9
commit
e59dca0c4d
|
@ -44,6 +44,8 @@ public final class Queue
|
||||||
|
|
||||||
/* Initialize the mutex */
|
/* Initialize the mutex */
|
||||||
queueLock = new Mutex();
|
queueLock = new Mutex();
|
||||||
|
|
||||||
|
this.flags = flags;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setLengthCap(ulong lengthCap)
|
public void setLengthCap(ulong lengthCap)
|
||||||
|
|
Loading…
Reference in New Issue