usbmgmt/usbmgr/host/functiondrivers/ms/msmm/server/src/eventhandler.cpp
branchRCL_3
changeset 7 c2db6e29750c
parent 0 c9bc50fca66e
child 19 bfa24657ff9f
equal deleted inserted replaced
3:be39042dca40 7:c2db6e29750c
   261             (iSubCommandQueue.Count() == 1))
   261             (iSubCommandQueue.Count() == 1))
   262         {
   262         {
   263         CompleteClient(aError);
   263         CompleteClient(aError);
   264         }
   264         }
   265 
   265 
   266     //    CompleteClient(aError);
   266     //Restart the handler after error handling;
   267     if (IsActive())
   267     if (!IsActive())
   268         {
   268         {
   269         Complete(aError);
   269         Start();
   270         }
   270         }
       
   271     Complete(aError);
   271     
   272     
   272     if (iSubCommandQueue.Count())
   273     if (iSubCommandQueue.Count())
   273         {
   274         {
   274         iSubCommandQueue.Pop();
   275         iSubCommandQueue.Pop();
   275         }
   276         }