Searched refs:weak_by_ptr_ (Results 1 – 1 of 1) sorted by relevance
140 std::map<void*, std::weak_ptr<WsConnection>> weak_by_ptr_; member in cuttlefish::webrtc_streaming::WsConnectionContext386 if (weak_by_ptr_.count(raw) == 0) { in GetConnection()389 connection = weak_by_ptr_[raw].lock(); in GetConnection()391 weak_by_ptr_.erase(raw); in GetConnection()400 weak_by_ptr_.emplace( in RememberConnection()406 weak_by_ptr_.erase(raw); in ForgetConnection()