bc-csharp
bc-csharp copied to clipboard
Fix a wrong delete
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.
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.
Fixed in 2.5.1.