Skip to content

V4 ArrayIterator: Protect retrieved value from GC

When constructing the iterator return object, the garbage collector may run, and drop the element value we want to return.

Fixes: QTBUG-101700 Pick-to: 5.15 6.2 6.3 Change-Id: I60c9b0b9fbb9e784fa089a8b5bb274d02ef7fc1f Reviewed-by: Maximilian Goldstein max.goldstein@qt.io Reviewed-by: Andrei Golubev andrei.golubev@qt.io (cherry picked from commit 185760fa)

Merge request reports