Details
-
Bug
-
Resolution: Cannot Reproduce
-
Not Evaluated
-
None
-
1.1.2
-
None
-
Nokia N8
Description
Adding and removing dynamically created MapCircle objects to a Map does not free all allocated memory. Around 8 kB per MapCircle is not freed.
From the attached example:
...
function createIcon(lat,lon)
{
var icon = Qt.createQmlObject('import QtQuick 1.1; import QtMobility.location 1.2; ' +
'MapCircle{ radius: 100; color: "'+ mainPage.iconColor + '"; ' +
'center: Coordinate
' + ' } ',
mainPage);
if (icon !== null)
}
function updateMap()
{
clearMap();
for (var x= -10; x<10; x++ )
for (var y= -5; y<5; y++ )
}
function clearMap()
{
while ( MapHelper.mapObjects.length > 0 )
}
...