--- a/mpx/collectionframework/collectionengine/src/mpxcollectionengine.cpp Fri Apr 16 15:28:14 2010 +0300
+++ b/mpx/collectionframework/collectionengine/src/mpxcollectionengine.cpp Mon May 03 12:58:40 2010 +0300
@@ -102,6 +102,7 @@
//
void CMPXCollectionEngine::ConstructL()
{
+ iMediaForHeapKeepAlive = CMPXMedia::NewL(); // To avoid continuous heap
iPluginHandler=CMPXCollectionPluginHandler::NewL(*this, *this);
iCache = CMPXCollectionCache::NewL(KMPXMaxCacheSizeRatio);
}
@@ -112,6 +113,7 @@
//
EXPORT_C CMPXCollectionEngine::~CMPXCollectionEngine()
{
+ delete iMediaForHeapKeepAlive;
iCleanupStack.Close();
iContexts.ResetAndDestroy();