Skip to content

Commit

Permalink
move to variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Swatinem committed Jan 31, 2024
1 parent 73dacd2 commit 227b7c7
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ async fn stackwalk(

let mut obj_info = object_info_from_minidump_module(ty, module);

obj_info.unwind_status = Some(match cficaches.remove(&key) {
let unwind_status = match cficaches.remove(&key) {
Some(LazyCfiCache::Fetched(cfi_module)) => {
let cfi_module = Arc::into_inner(cfi_module).unwrap();
obj_info.features.merge(cfi_module.features);
Expand All @@ -408,7 +408,8 @@ async fn stackwalk(
object_file_status_from_cache_entry(&cfi_module.cache)
}
_ => ObjectFileStatus::Unused,
});
};
obj_info.unwind_status = Some(unwind_status);

metric!(
counter("symbolication.unwind_status") += 1,
Expand Down

0 comments on commit 227b7c7

Please sign in to comment.