uifw/AvKon/aknphysics/src/aknphysicsengine.cpp
branchRCL_3
changeset 18 fcdfafb36fe7
parent 8 71dd06cfe933
child 19 aecbbf00d063
equal deleted inserted replaced
17:a1caeb42b3a3 18:fcdfafb36fe7
    58 // ---------------------------------------------------------------------------
    58 // ---------------------------------------------------------------------------
    59 //
    59 //
    60 CAknPhysicsEngine::~CAknPhysicsEngine()
    60 CAknPhysicsEngine::~CAknPhysicsEngine()
    61     {
    61     {
    62     DeletePhysics();
    62     DeletePhysics();
    63     delete iAlfClient;
    63     if ( iAlfClient )
       
    64         {
       
    65         iAlfClient->Close();
       
    66         delete iAlfClient;
       
    67         }       
    64     }
    68     }
    65 
    69 
    66 
    70 
    67 // ---------------------------------------------------------------------------
    71 // ---------------------------------------------------------------------------
    68 // CAknPhysicsEngine::WorldExists
    72 // CAknPhysicsEngine::WorldExists