braydenanderson2014 / C-Arduino-Libraries

This repository contains C++ and Arduino Libraries that are lightweight and easy to use. All libraries were created/mimicked by me and chatgpt.
Apache License 2.0
13 stars 0 forks source link

Iterator in Properties seems to have an infinite loop #23

Closed braydenanderson2014 closed 11 months ago

braydenanderson2014 commented 11 months ago

Describe the Issue In a test Class, i add 5 elements to the properties table. Then i iterate through the properties table. The Table Does indeed now display the proper elements, however it also displays blanks and keeps iterating for seemingly forever. Now it is entirely possible that it is not going to go forever, it could just be that the table resized to a bigger then expected size.

Library Name and Version: Name: SimpleProperties Version: 1.0.5 (Github patch)

Environment:

Library Source:

Expected Behavior List should iterate and only show the values that are stored in the list. once the values have been traversed, the iterator should stop or not display blank values.

Actual Behavior Iterator keeps traversing what seems infinitely.

braydenanderson2014 commented 11 months ago

Issue has been patched in Github Release, Updated Platformio library expected soon.