uifw/AvKon/aknphysics/src/aknphysicsengine.cpp
branchRCL_3
changeset 18 fcdfafb36fe7
parent 8 71dd06cfe933
child 19 aecbbf00d063
--- a/uifw/AvKon/aknphysics/src/aknphysicsengine.cpp	Thu Jul 15 18:56:19 2010 +0300
+++ b/uifw/AvKon/aknphysics/src/aknphysicsengine.cpp	Thu Aug 19 10:11:06 2010 +0300
@@ -60,7 +60,11 @@
 CAknPhysicsEngine::~CAknPhysicsEngine()
     {
     DeletePhysics();
-    delete iAlfClient;
+    if ( iAlfClient )
+        {
+        iAlfClient->Close();
+        delete iAlfClient;
+        }       
     }