satengine/SatServer/Engine/src/CSatCommandContainer.cpp
branchRCL_3
changeset 8 1b9ee3c7442d
parent 0 ff3b6d0fd310
child 11 ba42c4bd84dd
equal deleted inserted replaced
7:7237db0d9fca 8:1b9ee3c7442d
   316 
   316 
   317     // Reset ClientService request handlers since there are no command handlers
   317     // Reset ClientService request handlers since there are no command handlers
   318     // to handle client responses. If SAT UI / Proactive command is executing
   318     // to handle client responses. If SAT UI / Proactive command is executing
   319     // while Bluetooth SAP is enabled, SAT UI sends ClientResponse and that must
   319     // while Bluetooth SAP is enabled, SAT UI sends ClientResponse and that must
   320     // be preveted
   320     // be preveted
   321     iServiceReqs->Reset();
   321     if ( iServiceReqs )
       
   322         {
       
   323         iServiceReqs->Reset();
       
   324         }
   322 
   325 
   323     // Close all reserved BIP Data channels
   326     // Close all reserved BIP Data channels
   324     if ( iBipUtils )
   327     if ( iBipUtils )
   325         {
   328         {
   326         LOG( NORMAL, "SATENGINE: CSatCommandContainer::StopCommandHandlers \
   329         LOG( NORMAL, "SATENGINE: CSatCommandContainer::StopCommandHandlers \
   336         iEventMonitors->CancelAllMonitors();
   339         iEventMonitors->CancelAllMonitors();
   337         }
   340         }
   338 
   341 
   339 #ifdef SAT_USE_DUMMY_TSY
   342 #ifdef SAT_USE_DUMMY_TSY
   340     // Close ATSY. This is needed when testin BT SAP in emulator
   343     // Close ATSY. This is needed when testin BT SAP in emulator
   341     iUSatAPI->Close();
   344     if ( iUSatAPI )
       
   345         {
       
   346         iUSatAPI->Close();
       
   347         }
   342 #endif
   348 #endif
   343 
   349 
   344     LOG( NORMAL,
   350     LOG( NORMAL,
   345         "SATENGINE: CSatCommandContainer::StopCommandHandlers exiting" )
   351         "SATENGINE: CSatCommandContainer::StopCommandHandlers exiting" )
   346     }
   352     }