Closed csm101 closed 8 years ago
Thanks for the feedback! It's greatly appreciated!
The TMultiformatReader has been greatly simplified in branch v_3.0 but not his procedure. I will check this out and will if successful merge changes in v3 in a final bug fix round.
See: https://github.com/Spelt/ZXing.Delphi/tree/v_3.0
I'll keep this issue open until more is known.
fixed in branch 2 and branch 3
This is how this procedure is currently written... See my comments inside the code
The first thing you could do if you actually want to release the interfaces contained in the list is to use an integer to iterate over the values, so you are free to assign the list values by index:
In second place.. It is totally useless to explicitly free the interfaces by assigning nil to them because the generic class TList already does it inside its Clear method, so the whole procedure should be just this: