examples: Add a GC call to the externref Rust example
This commit is contained in:
@@ -46,6 +46,9 @@ fn main() -> Result<()> {
|
||||
assert!(ret.is_some());
|
||||
assert!(ret.unwrap().ptr_eq(&externref));
|
||||
|
||||
println!("GCing within the store...");
|
||||
store.gc();
|
||||
|
||||
println!("Done.");
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user