equal
deleted
inserted
replaced
156 // |
156 // |
157 EXPORT_C void CTactileAreaRegistry::HandleDisconnect( |
157 EXPORT_C void CTactileAreaRegistry::HandleDisconnect( |
158 const TTactileFeedbackDisconnectData& aData ) |
158 const TTactileFeedbackDisconnectData& aData ) |
159 { |
159 { |
160 // #1 |
160 // #1 |
|
161 iTactileSemaphore.Wait(); |
|
162 |
161 for ( TInt i=0; i < iChunkArray.Count(); i++ ) |
163 for ( TInt i=0; i < iChunkArray.Count(); i++ ) |
162 { |
164 { |
163 if ( iChunkArray[i].iWindowGroupId == aData.iWindowGroupId ) |
165 if ( iChunkArray[i].iWindowGroupId == aData.iWindowGroupId ) |
164 { |
166 { |
165 // #2 |
167 // #2 |
168 // #3 |
170 // #3 |
169 iChunkArray.Remove( i ); |
171 iChunkArray.Remove( i ); |
170 break; |
172 break; |
171 } |
173 } |
172 } |
174 } |
|
175 |
|
176 iTactileSemaphore.Signal(); |
173 } |
177 } |
174 |
178 |
175 |
179 |
176 // --------------------------------------------------------------------------- |
180 // --------------------------------------------------------------------------- |
177 // Here we just store information (e.g. connection handle) about the |
181 // Here we just store information (e.g. connection handle) about the |