diff --git a/codex-rs/cli/tests/debug_clear_memories.rs b/codex-rs/cli/tests/debug_clear_memories.rs index e39d736ae0..be1c30da8a 100644 --- a/codex-rs/cli/tests/debug_clear_memories.rs +++ b/codex-rs/cli/tests/debug_clear_memories.rs @@ -142,7 +142,7 @@ async fn debug_clear_memories_resets_memories_db_without_state_db() -> Result<() let codex_home = TempDir::new()?; let runtime = StateRuntime::init(codex_home.path().to_path_buf(), "test-provider".to_string()).await?; - drop(runtime); + runtime.close().await; let db_path = state_db_path(codex_home.path()); let memories_db_path = memories_db_path(codex_home.path());