| 342 | } |
| 343 | |
| 344 | void RefillGuard::commit() { |
| 345 | committed_ = true; |
| 346 | scalar_snapshot_ = {}; // free the held-aside prior data; the refilled data is kept |
| 347 | object_snapshot_ = {}; |
| 348 | prior_object_topic_ids_.clear(); |
| 349 | } |
| 350 | |
| 351 | void RefillGuard::pruneVanishedTopics() { |
| 352 | if (session_ == nullptr) { |