Fix use-after-move bug in hash table.

PiperOrigin-RevId: 665389027
pull/37529/head
Evan Brown 3 months ago committed by Copybara-Service
parent 406fbf07a4
commit 62da6727ae
  1. 1
      src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc

@ -456,6 +456,7 @@ void ChaoticGoodServerListener::Orphan() {
absl::flat_hash_set<OrphanablePtr<ActiveConnection>> connection_list;
MutexLock lock(&mu_);
connection_list = std::move(connection_list_);
connection_list_.clear();
shutdown_ = true;
}
ee_listener_.reset();

Loading…
Cancel
Save