Fixed the crash when handling keep alive packet

PiperOrigin-RevId: 542592058
This commit is contained in:
Guogang Li
2023-06-22 10:05:46 -07:00
committed by Copybara-Service
parent bd30b11401
commit 4e5d91b970
2 changed files with 16 additions and 1 deletions
@@ -202,6 +202,7 @@ class EndpointManager {
mutable std::unique_ptr<Mutex> keep_alive_waiter_mutex_;
std::unique_ptr<ConditionVariable> keep_alive_waiter_;
SingleThreadExecutor keep_alive_thread_;
std::unique_ptr<CountDownLatch> keep_alive_latch_;
};
// RAII accessor for FrameProcessor