Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.15.8, 6.3.0 Beta3
-
185760fa44 (qt/qtdeclarative/dev) c49fbc7a86 (qt/qtdeclarative/6.2) c49fbc7a86 (qt/tqtc-qtdeclarative/6.2) 185760fa44 (qt/tqtc-qtdeclarative/dev) 03b2accad9 (qt/qtdeclarative/6.3) 03b2accad9 (qt/tqtc-qtdeclarative/6.3)
Description
Using for .. of loop in JS when iterating over groups an item may have (DelegateModel.groups) seems to sooner or later trigger a crash. In the meanwhile using for .. in or more old fashioned for loop seems to work fine.
Steps to reproduce the problem:
- Run the attached project
- check the checkbox (=> will use for .. of loop)
- click repeatedly on "toggle selection" => crash
If the checkbox is not checked the example will use different style for loop and no crash will occur.