mmserv/radioutility/radioserver/Server/Src/RadioServer.cpp
changeset 47 c2e43643db4c
parent 31 8dfd592727cb
equal deleted inserted replaced
42:1fa3fb47b1e3 47:c2e43643db4c
  2097                 iMapper->SetTspTargetClient( CTspClientMapper::EPlayingClients, iProcessId );
  2097                 iMapper->SetTspTargetClient( CTspClientMapper::EPlayingClients, iProcessId );
  2098                 iTspState = CTspClientMapper::EPlayingClients;
  2098                 iTspState = CTspClientMapper::EPlayingClients;
  2099                 }
  2099                 }
  2100             }
  2100             }
  2101         }
  2101         }
  2102 
  2102     process.Close();
       
  2103     client.Close();
  2103 #endif // RD_TSP_CLIENT_MAPPER
  2104 #endif // RD_TSP_CLIENT_MAPPER
  2104 
  2105 
  2105     if ( --iSessionCountPrimary == 0 )
  2106     if ( --iSessionCountPrimary == 0 )
  2106         {
  2107         {
  2107         RADIO_RDEBUG(_L("[RADIO-SVR] ProcessRemovePrimaryClient() - last primary"));
  2108         RADIO_RDEBUG(_L("[RADIO-SVR] ProcessRemovePrimaryClient() - last primary"));
  3346     iClientPids.Append(process.Id());
  3347     iClientPids.Append(process.Id());
  3347     if ( iClientPids.Count() == 1 )
  3348     if ( iClientPids.Count() == 1 )
  3348         {
  3349         {
  3349         iProcessId = process.Id();
  3350         iProcessId = process.Id();
  3350         }
  3351         }
       
  3352     process.Close();
       
  3353     client.Close();
  3351 #endif // RD_TSP_CLIENT_MAPPER
  3354 #endif // RD_TSP_CLIENT_MAPPER
  3352     }
  3355     }
  3353 //  End of File
  3356 //  End of File