Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(session): restore session persistence on shutdown

Steven Enamakelf603882b83d7
diff --git a/crates/openhuman-session/src/manager.rs b/crates/openhuman-session/src/manager.rs
index 39193e20af..f2d898fa59 100644
--- a/crates/openhuman-session/src/manager.rs
+++ b/crates/openhuman-session/src/manager.rs
@@ -148,7 +148,8 @@ impl<L: CoreLink> SessionManager<L> {
Ok(client)
}
- fn cancel_revalidation(&self) {
+ /// Stop a pending-session revalidation loop, if one is running.
+ pub fn cancel_revalidation(&self) {
if let Some(handle) = self
.revalidation
.lock()