Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Windows: Handles - catch exception in handle iteration
An `InvalidAddressException` can occur inside of `__iter__` when iterating over the handle table (the exact exception occurs when creating the subtype in `objects.Array.__getitem__`. This changes the handle code to do a manual iteration over the sequence using the array length and indexes, catching the exception, logging the index, and continuing. In the test sample that prompted this change, the exception occurred on the access of the very last item in the array. closes #1573
- Loading branch information