From a67d2dd20512b476829bf7706059a1062d86ae6e Mon Sep 17 00:00:00 2001 From: chasse20 Date: Mon, 9 Nov 2026 00:58:45 -0500 Subject: [PATCH] Fix Windows workspace test cleanup --- crates/automation/tests/package_files.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/automation/tests/package_files.rs b/crates/automation/tests/package_files.rs index 4175e25c..cb2dbf84 100644 --- a/crates/automation/tests/package_files.rs +++ b/crates/automation/tests/package_files.rs @@ -81,5 +81,7 @@ fn both_formats_save_and_reopen_using_separate_workspace_capabilities() { assert!(app.save(Some("../escape.sbs")).is_err()); assert!(!root.join("escape.sbs").exists()); + // Release workspace directory handles before Windows removes the test tree + drop(app); std::fs::remove_dir_all(root).unwrap(); }