uifw/AknGlobalUI/AknNfySrv/src/AknNfySrv.cpp
branchRCL_3
changeset 55 aecbbf00d063
parent 38 c52421ed5f07
child 56 d48ab3b357f1
--- a/uifw/AknGlobalUI/AknNfySrv/src/AknNfySrv.cpp	Thu Aug 19 10:11:06 2010 +0300
+++ b/uifw/AknGlobalUI/AknNfySrv/src/AknNfySrv.cpp	Tue Aug 31 15:28:30 2010 +0300
@@ -20,7 +20,7 @@
 #include "AknNfySrv.h"
 
 const TUid KDllUid = {0x10000079};
-const TInt KCheckInterval = 1000000 / 64;
+
     
 class CAknNotifierEntry: public CBase
     {
@@ -65,7 +65,6 @@
             if (me->iLibraryArray[ii]->iNestingLevel >= CActiveScheduler::Current()->StackDepth())
                 {
                 me->DoUnload(me->iLibraryArray[ii]->iLibraryName->Des());
-                me->iLibraryRemover->Cancel();
                 }
             else
                 {
@@ -112,7 +111,7 @@
     {
     if (!iLibraryRemover)
         {
-        iLibraryRemover = CPeriodic::NewL(CActive::EPriorityIdle); // there is no hurry
+        iLibraryRemover = CIdle::NewL(CActive::EPriorityIdle); // there is no hurry
         }
     else if (iLibraryRemover->IsActive())
         {
@@ -292,7 +291,7 @@
                         {                            
                         if (!iLibraryRemover->IsActive())
                             {
-                            iLibraryRemover->Start(0, KCheckInterval, TCallBack(CheckUnusedLibraries, this));
+                            iLibraryRemover->Start(TCallBack(CheckUnusedLibraries, this));
                             }
                         }
                     }