| 224 | } |
| 225 | |
| 226 | void StreamerGroup::ClearInactivePools() |
| 227 | { |
| 228 | for (auto it = _pools.begin(); it != _pools.end();) |
| 229 | { |
| 230 | const auto& pool = it->second; |
| 231 | if (pool.empty()) |
| 232 | { |
| 233 | it = _pools.erase(it); |
| 234 | continue; |
| 235 | } |
| 236 | |
| 237 | ++it; |
| 238 | } |
| 239 | } |
| 240 | |
| 241 | void StreamerGroup::ClearInactiveStreamers(int tag) |
| 242 | { |