internal: Workaround salsa cycles leaking

This commit is contained in:
Lukas Wirth 2024-12-26 14:47:06 +01:00
parent bfc223e857
commit ed8227c649
4 changed files with 11 additions and 6 deletions

View file

@ -175,7 +175,7 @@ fn expand_id(
});
let res = match thread {
Ok(handle) => handle.join(),
Err(e) => std::panic::resume_unwind(Box::new(e)),
Err(e) => return Err(e.to_string()),
};
match res {
@ -223,7 +223,7 @@ fn expand_ra_span(
});
let res = match thread {
Ok(handle) => handle.join(),
Err(e) => std::panic::resume_unwind(Box::new(e)),
Err(e) => return Err(e.to_string()),
};
match res {