X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fqueue.ts;h=7aad6d065ce6338129c70032b266ce5c6bcba600;hb=d262e04c193ce648ddd6c0cb1dfaeb9264928c8c;hp=8b761c8ff82d5ca7c0c0a67b361188d1fda19dc5;hpb=116a8c861a8a7c5b348b848f1409e1b68dd82699;p=poolifier.git diff --git a/src/queue.ts b/src/queue.ts index 8b761c8f..7aad6d06 100644 --- a/src/queue.ts +++ b/src/queue.ts @@ -13,9 +13,9 @@ export class Queue { public constructor () { this.items = [] + this.offset = 0 /** The size of the queue. */ this.size = 0 - this.offset = 0 /** The maximum size of the queue. */ this.maxSize = 0 }