| 2338 | } |
| 2339 | |
| 2340 | void MasterSession::GarbageCollect() { |
| 2341 | { |
| 2342 | mutex_lock l(mu_); |
| 2343 | closed_ = true; |
| 2344 | garbage_collected_ = true; |
| 2345 | } |
| 2346 | cancellation_manager_.StartCancel(); |
| 2347 | Unref(); |
| 2348 | } |
| 2349 | |
| 2350 | MasterSession::RunState::RunState(const std::vector<string>& input_names, |
| 2351 | const std::vector<string>& output_names, |