Move incoming calls into ActiveCall

This commit is contained in:
Antonio Scandurra 2022-10-06 09:50:26 +02:00
parent fa31c9659b
commit 55cc142319
11 changed files with 362 additions and 373 deletions

View file

@ -122,7 +122,7 @@ pub fn test(args: TokenStream, function: TokenStream) -> TokenStream {
cx_teardowns.extend(quote!(
#cx_varname.update(|cx| cx.remove_all_windows());
deterministic.run_until_parked();
#cx_varname.update(|_| {}); // flush effects
#cx_varname.update(|cx| cx.clear_globals());
));
inner_fn_args.extend(quote!(&mut #cx_varname,));
continue;