uifw/AvKon/src/akndiscreetpopupcontrol.cpp
branchRCL_3
changeset 9 aabf2c525e0f
parent 4 8ca85d2f0db7
child 16 71dd06cfe933
--- a/uifw/AvKon/src/akndiscreetpopupcontrol.cpp	Fri Feb 19 23:04:46 2010 +0200
+++ b/uifw/AvKon/src/akndiscreetpopupcontrol.cpp	Fri Mar 12 15:43:43 2010 +0200
@@ -189,12 +189,15 @@
 
     GfxTransEffect::Deregister( this );
 
+    delete iTimer;	
+    delete iDrawer;
+
     if ( iInternalFlags.IsSet( EGlobal ) )
         {
+        CloseWindow();
         iWindowGroup.Close();
         }
-    delete iTimer;	
-    delete iDrawer;
+
     _AKNTRACE_FUNC_EXIT;
     }