diff --git a/crates/corro-agent/src/agent/util.rs b/crates/corro-agent/src/agent/util.rs index 274a2612..0c1238f1 100644 --- a/crates/corro-agent/src/agent/util.rs +++ b/crates/corro-agent/src/agent/util.rs @@ -976,6 +976,8 @@ pub async fn process_multiple_changes( actor_id: None, version: None, })?; + + std::mem::forget(snap); } tx.commit().map_err(|source| ChangeError::Rusqlite {