We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2106f9 commit 9990059Copy full SHA for 9990059
projects/client/RabbitMQ.Client/src/util/IntAllocator.cs
@@ -242,6 +242,7 @@ public bool Reserve(int id)
242
// The ID is in the middle of this interval.
243
// We need to split the interval into two.
244
IntervalList rest = new IntervalList(id + 1, current.End);
245
+ current.End = id - 1;
246
rest.Next = current.Next;
247
current.Next = rest;
248
}
0 commit comments