Skip to content

Commit ac10725

Browse files
committed
Do another GC after running Wasm in the table_ops test oracle
1 parent 006c777 commit ac10725

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

crates/fuzzing/src/oracles.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,9 @@ pub fn table_ops(mut fuzz_config: generators::Config, ops: generators::table_ops
540540
.map(|_| Val::ExternRef(Some(ExternRef::new(CountDrops(num_dropped.clone())))))
541541
.collect();
542542
let _ = run.call(&mut store, &args, &mut []);
543+
544+
// Do a final GC after running the Wasm.
545+
store.gc();
543546
}
544547

545548
assert_eq!(num_dropped.load(SeqCst), expected_drops.load(SeqCst));

0 commit comments

Comments
 (0)