tactilefeedback/tactilearearegistry/src/tactilearearegistry.cpp
branchRCL_3
changeset 13 a4df7952b706
parent 0 d54f32e146dd
child 36 39d4c97df8cb
--- a/tactilefeedback/tactilearearegistry/src/tactilearearegistry.cpp	Wed Mar 31 22:03:28 2010 +0300
+++ b/tactilefeedback/tactilearearegistry/src/tactilearearegistry.cpp	Wed Apr 14 16:16:15 2010 +0300
@@ -158,6 +158,8 @@
     const TTactileFeedbackDisconnectData& aData )
     {
     // #1
+    iTactileSemaphore.Wait();
+    
     for ( TInt i=0; i < iChunkArray.Count(); i++ )
         {
         if ( iChunkArray[i].iWindowGroupId == aData.iWindowGroupId )
@@ -170,6 +172,7 @@
             break;
             }
         }  
+    iTactileSemaphore.Signal();
     }