uiacceltk/hitchcock/goommonitor/src/goommemorymonitor.cpp
changeset 35 ac76c975c9be
parent 25 f7f1ae431f74
child 38 69409653e863
--- a/uiacceltk/hitchcock/goommonitor/src/goommemorymonitor.cpp	Thu May 27 13:47:19 2010 +0300
+++ b/uiacceltk/hitchcock/goommonitor/src/goommemorymonitor.cpp	Fri Jun 11 14:31:43 2010 +0300
@@ -502,6 +502,7 @@
         if(iGOomActionList->IsRunningKillAppActions())  //this may be too late as killing of apps has already begun, but we might still be able to save the app 
             AppClosePriorityChanged(WgIdList[i], RGOomMonitorSession::EGOomPriorityBusy);
         }
+    WgIdList.Close();
     }
 
 void CMemoryMonitor::SetPriorityNormal(TInt aWgId)
@@ -519,6 +520,7 @@
         if(iGOomActionList->IsRunningKillAppActions())
             AppClosePriorityChanged(WgIdList[i], RGOomMonitorSession::EGOomPriorityNormal);
         }
+    WgIdList.Close();
     }
 
 void CMemoryMonitor::SetPriorityHigh(TInt aWgId)
@@ -536,6 +538,7 @@
         if(iGOomActionList->IsRunningKillAppActions())
             AppClosePriorityChanged(WgIdList[i], RGOomMonitorSession::EGOomPriorityHigh);
         }
+    WgIdList.Close();
     }
 
 TInt CMemoryMonitor::GetFreeMemory()