File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed
crates/wasmtime/src/runtime Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -371,6 +371,7 @@ where
371371 unsafe {
372372 flags. set_may_leave ( true ) ;
373373 }
374+ lower. exit_call ( ) ?;
374375 }
375376
376377 return Ok ( ( ) ) ;
Original file line number Diff line number Diff line change @@ -603,7 +603,7 @@ mod tests {
603603 RecordBuffer :: new_recorder ( Box :: new ( File :: create ( tmppath) ?) , record_settings) ?;
604604
605605 record_fn ( & mut recorder) ?;
606- recorder . flush ( ) ? ;
606+ drop ( recorder ) ;
607607
608608 let tmp = tmp. into_temp_path ( ) ;
609609 let tmppath = <TempPath as AsRef < Path > >:: as_ref ( & tmp)
Original file line number Diff line number Diff line change @@ -287,7 +287,10 @@ impl<T: 'static> ReplayInstance<T> {
287287 }
288288 }
289289
290- _ => Err ( ReplayError :: IncorrectEventVariant ) ?,
290+ _ => {
291+ log:: error!( "Unexpected non-top-level RR event: {:?}" , rr_event) ;
292+ Err ( ReplayError :: IncorrectEventVariant ) ?
293+ }
291294 }
292295 Ok ( ( ) )
293296 }
@@ -445,7 +448,10 @@ impl<T: 'static> ReplayInstance<T> {
445448 }
446449 }
447450
448- _ => Err ( ReplayError :: IncorrectEventVariant ) ?,
451+ _ => {
452+ log:: error!( "Unexpected non-top-level RR event: {:?}" , rr_event) ;
453+ Err ( ReplayError :: IncorrectEventVariant ) ?
454+ }
449455 }
450456 Ok ( ( ) )
451457 }
You can’t perform that action at this time.
0 commit comments