[TIMOB-23118] iOS: Ti.UI.iOS.DynamicItemBehavior can possibly crash during iteration
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-04-07T23:36:43.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 5.4.0 |
Components | iOS |
Labels | dynamicitembehavior, qe-5.4.0 |
Reporter | Hans Knöchel |
Assignee | Hans Knöchel |
Created | 2016-03-28T19:24:34.000+0000 |
Updated | 2016-08-09T21:29:48.000+0000 |
Description
A community member created a PR to fix a crash that can occur with the above mentioned API. The fix removes the fast-enumeration with a simple
for
-iteration.
PR: https://github.com/appcelerator/titanium_mobile/pull/6600 Demo:
Verified as fixed, ran the app with the above demo code 10 times without a single crash. Tested On: iPhone 6S (9.3.3) Device Mac OSX El Capitan 10.11.6 Ti SDK: 5.4.0.v20160809033140 Appc Studio: 4.7.0.201607250649 Appc NPM: 4.2.7 App CLI: 5.4.0-40 Xcode 7.3.1 Node v4.4.7 *Closing ticket.*