--- a/uifw/AvKon/aknphysics/src/aknphysicsengine.cpp Tue Aug 31 15:28:30 2010 +0300
+++ b/uifw/AvKon/aknphysics/src/aknphysicsengine.cpp Wed Sep 01 12:16:19 2010 +0100
@@ -60,7 +60,11 @@
CAknPhysicsEngine::~CAknPhysicsEngine()
{
DeletePhysics();
- delete iAlfClient;
+ if ( iAlfClient )
+ {
+ iAlfClient->Close();
+ delete iAlfClient;
+ }
}
@@ -267,7 +271,7 @@
dSpaceCollide ( iSpace, this , &CAknPhysicsEngine::CallbackFunc );
// Take a simulation step
- dWorldQuickStep( iWorldId, REAL( 0.1 ) );
+ dWorldQuickStep( iWorldId, REAL( 0.06 ) );
// Remove all joints in the contact
dJointGroupEmpty( iContactGroup );