mirror of
https://github.com/vale981/ray
synced 2025-03-09 04:46:38 -04:00
Fix (#17660)
This commit is contained in:
parent
6b4f70add5
commit
658e3668ae
1 changed files with 3 additions and 1 deletions
|
@ -95,7 +95,9 @@ bool SubscriptionIndex<KeyIdType>::EraseEntry(const std::string &key_id_binary,
|
|||
auto object_it = objects.find(key_id);
|
||||
if (object_it == objects.end()) {
|
||||
auto it = key_id_to_subscribers_.find(key_id);
|
||||
if (it != key_id_to_subscribers_.end()) {
|
||||
RAY_CHECK(it->second.count(subscriber_id) == 0);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
objects.erase(object_it);
|
||||
|
|
Loading…
Add table
Reference in a new issue