| 155 | } |
| 156 | |
| 157 | void PvdProfileZoneClient::onZoneRemoved(profile::PxProfileZone& zone) |
| 158 | { |
| 159 | for(uint32_t i = 0; i < mProfileZoneClients.size(); i++) |
| 160 | { |
| 161 | if(&zone == &mProfileZoneClients[i]->mZone) |
| 162 | { |
| 163 | mMutex.lock(); |
| 164 | ProfileZoneClient* client = mProfileZoneClients[i]; |
| 165 | mProfileZoneClients.replaceWithLast(i); |
| 166 | PVD_DELETE(client); |
| 167 | mMutex.unlock(); |
| 168 | return; |
| 169 | } |
| 170 | } |
| 171 | } |
no test coverage detected