We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c103773 commit eb4097eCopy full SHA for eb4097e
preload/src/api.rs
@@ -559,7 +559,9 @@ pub unsafe extern "C" fn __register_frame( fde: *const u8 ) {
559
error!( "__register_frame call ignored since we couldn't find the original symbol" );
560
}
561
562
+ let thread = StrongThreadHandle::acquire();
563
unwind::register_frame_by_pointer( fde );
564
+ std::mem::drop( thread );
565
566
567
#[cfg_attr(not(test), no_mangle)]
@@ -572,5 +574,7 @@ pub unsafe extern "C" fn __deregister_frame( fde: *const u8 ) {
572
574
error!( "__deregister_frame call ignored since we couldn't find the original symbol" );
573
575
576
577
578
unwind::deregister_frame_by_pointer( fde );
579
580
0 commit comments