aboutsummaryrefslogtreecommitdiff
path: root/bbot/agent/machine.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'bbot/agent/machine.hxx')
-rw-r--r--bbot/agent/machine.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/bbot/agent/machine.hxx b/bbot/agent/machine.hxx
index 04da80e..46ad544 100644
--- a/bbot/agent/machine.hxx
+++ b/bbot/agent/machine.hxx
@@ -53,6 +53,12 @@ namespace bbot
return wait (sec, fail_hard);
}
+ // Cleanup machine resources (logs, etc). Normally you would only call
+ // this after a successful (or successfully investigated) completion.
+ //
+ virtual void
+ cleanup () = 0;
+
// Print information about the machine (as info diagnostics) that can be
// useful for debugging (e.g., how to connect/login, etc).
//