mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-27 18:26:19 +00:00
internal: Workaround salsa cycles leaking
This commit is contained in:
parent
bfc223e857
commit
ed8227c649
4 changed files with 11 additions and 6 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue