Releases the cleanup function instead of running it. Hint: use c.release()() to run early.
| 617 | // Releases the cleanup function instead of running it. Hint: use |
| 618 | // c.release()() to run early. |
| 619 | F release() { |
| 620 | released_ = true; |
| 621 | return std::move(f_); |
| 622 | } |
| 623 | |
| 624 | bool is_released() const { return released_; } |
| 625 |
no outgoing calls