Skip to content

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

fix(storage): bind cleared fallback map to a variable

Steven Enamakel48fce51df30a
diff --git a/crates/openhuman-core/src/storage/sessions/workspace.rs b/crates/openhuman-core/src/storage/sessions/workspace.rs
index 1929970524..bb2893b8d7 100644
--- a/crates/openhuman-core/src/storage/sessions/workspace.rs
+++ b/crates/openhuman-core/src/storage/sessions/workspace.rs
@@ -37,7 +37,7 @@ static FALLBACKS: LazyLock<Mutex<HashMap<PathBuf, Fallback>>> = LazyLock::new(Mu
/// Drops the fallback providers (and, with them, the default backends they
/// held), so a data reset can delete the files.
pub fn release_workspace_defaults() {
- FALLBACKS
+ let fallback_removed = FALLBACKS
.lock()
.unwrap_or_else(PoisonError::into_inner)
.clear();