--- a/tactilefeedback/tactilefeedbackresolver/src/tactilefeedbackresolver.cpp Wed Apr 14 16:16:15 2010 +0300
+++ b/tactilefeedback/tactilefeedbackresolver/src/tactilefeedbackresolver.cpp Tue Apr 27 16:57:17 2010 +0300
@@ -158,9 +158,14 @@
else if ( IsHigherThanPlaying( aFeedback ) )
{
willPlay = ETrue;
-
- iAudioPlayer->StopFeedback();
- iHapticsPlayer->StopFeedback();
+ if( iAudioPlayer )
+ {
+ iAudioPlayer->StopFeedback();
+ }
+ if( iHapticsPlayer )
+ {
+ iHapticsPlayer->StopFeedback();
+ }
}
if ( willPlay )