| 701 | // --- Lifecycle --- |
| 702 | |
| 703 | void ObjectStore::removeTopic(ObjectTopicId id) { |
| 704 | std::unique_lock lock(store_mutex_); |
| 705 | eraseTopicLocked(id); |
| 706 | } |
| 707 | |
| 708 | void ObjectStore::eraseTopicLocked(ObjectTopicId id) { |
| 709 | auto it = std::find_if(topics_.begin(), topics_.end(), [&](const auto& pair) { return pair.first == id; }); |
no outgoing calls