| 406 | ******************************/ |
| 407 | |
| 408 | static void stop_protect(color_ostream &out) |
| 409 | { |
| 410 | pending_recover.clear(); |
| 411 | |
| 412 | if (!known_jobs.empty()) |
| 413 | out.print("Unprotecting {} jobs.\n", known_jobs.size()); |
| 414 | |
| 415 | for (TKnownJobs::iterator it = known_jobs.begin(); it != known_jobs.end(); ++it) |
| 416 | delete it->second; |
| 417 | |
| 418 | known_jobs.clear(); |
| 419 | } |
| 420 | |
| 421 | static void cleanup_state(color_ostream &out) |
| 422 | { |