summaryrefslogtreecommitdiffstats
path: root/src/corelib/itemmodels
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>2014-01-20 14:02:24 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-20 14:38:53 +0100
commite5e43a2386fb4a4c2cb90d5a8d9bb5ca81a2675e (patch)
treeb739dfce5175256744f905a438418e5f577c5278 /src/corelib/itemmodels
parent1e20115cf005c7ef229db7aeda765ee0b7420e5a (diff)
Android: Don't crash on 100+ combo box items
Local references are valid until the original native method returns (if it's a Java thread), or until the current thread is detached from the VM. This means that we have to manually manage local references and delete them when they are no longer in use, otherwise we will leak memory and flood JNI's local reference array. [ChangeLog][Android] Fixed crash on populating large combo boxes or menus. Task-number: QTBUG-36074 Change-Id: I7095bd1472f759be98183737a8d3912fa9763f30 Reviewed-by: Christian Stromme <christian.stromme@digia.com>
Diffstat (limited to 'src/corelib/itemmodels')
0 files changed, 0 insertions, 0 deletions