From 4294663f5575acf4f27afa1b4327c6e68b6b043d Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sat, 22 Aug 2026 06:32:52 +0200 Subject: [PATCH] Release workspace coverage owner before return --- epiphany-core/src/workspace_coverage_store_binding.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/epiphany-core/src/workspace_coverage_store_binding.rs b/epiphany-core/src/workspace_coverage_store_binding.rs index 03b61d44..2e9e4bbd 100644 --- a/epiphany-core/src/workspace_coverage_store_binding.rs +++ b/epiphany-core/src/workspace_coverage_store_binding.rs @@ -197,8 +197,10 @@ pub fn bind_runtime_workspace_coverage_store( } store.validate_path_identity()?; drop(store); - open_workspace_coverage_authority(runtime_store) - .map(|authority| authority.runtime_coverage_route) + let authority = open_workspace_coverage_authority(runtime_store)?; + let route = authority.runtime_coverage_route.clone(); + drop(authority); + Ok(route) } pub fn runtime_workspace_coverage_store_binding(