[MOD-2352] Android: Map annotations memory leak at leftView property.
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2018-02-08T14:07:42.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Map |
Labels | n/a |
Reporter | hakaniemi |
Assignee | Unknown |
Created | 2017-08-21T16:08:35.000+0000 |
Updated | 2018-08-06T17:41:12.000+0000 |
Description
var Map = require('ti.map');
var ann = Map.createAnnotation({
latitude:0, longitude:0, leftView:Ti.UI.createImageView({
width:30, height:30, image:'/images/pin.png', preventDefaultImage:true
})
});
$.mapView.addAnnotations(ann);
$.mapView.removeAnnotations(ann);
ann = null;
Memory is not released.
Hello [~hknm], What is your Ti SDK version and platform (Android, iOS)? Could you please share a screenshot or error log of that issue? Thanks
Marking as duplicate of MOD-2378 and fix-version 4.1.1 available on Github. Thanks!
Closing as a duplicate. If this is in error, please reopen.