bc-csharp icon indicating copy to clipboard operation
bc-csharp copied to clipboard

Fix a wrong delete

Open tohidemyname opened this issue 1 year ago • 1 comments

If the returnKey size is more than one, the first deletion will change the index of returnKey.*. The follow-up deletions will delete the wrong items.

tohidemyname avatar Jun 21 '24 07:06 tohidemyname

I see that the removals will cause the check on the "next" entry to be skipped, but I don't see how it could delete wrong items.

In any case, the fix looks good, thanks for reporting the issue.

peterdettman avatar Jun 21 '24 08:06 peterdettman

Fixed in 2.5.1.

peterdettman avatar Mar 17 '25 14:03 peterdettman