| 419 | } |
| 420 | |
| 421 | static void cleanup_state(color_ostream &out) |
| 422 | { |
| 423 | config = PersistentDataItem(); |
| 424 | |
| 425 | stop_protect(out); |
| 426 | |
| 427 | for (size_t i = 0; i < constraints.size(); i++) |
| 428 | delete constraints[i]; |
| 429 | constraints.clear(); |
| 430 | } |
| 431 | |
| 432 | static void check_lost_jobs(color_ostream &out, int ticks); |
| 433 | static ItemConstraint *get_constraint(color_ostream &out, const std::string &str, PersistentDataItem *cfg = NULL, bool create = true); |
no test coverage detected