We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4705c5c commit fd72348Copy full SHA for fd72348
server/resource_manager/manager.cpp
@@ -359,7 +359,6 @@ void Manager::process_clients()
359
rdmalib::Poller recv_poller{std::get<1>(*_state.shared_queue(2))};
360
int client_count = 0;
361
std::vector<Client*> poll_send;
362
- std::vector<client_t::iterator> removals;
363
364
while (!_shutdown.load()) {
365
@@ -392,17 +391,6 @@ void Manager::process_clients()
392
391
}
393
poll_send.clear();
394
395
-
396
- if (removals.size()) {
397
- for (auto it : removals) {
398
- spdlog::info("Remove client id {}", it->second.client_id);
399
- _clients.erase(it);
400
- }
401
402
- client_count -= removals.size();
403
- removals.clear();
404
405
406
407
408
spdlog::info("Background thread stops processing client events");
0 commit comments