mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-27 23:51:33 +00:00
Fix import object destroy
This commit is contained in:
@ -47,6 +47,6 @@ int main()
|
||||
printf("Destroy instance\n");
|
||||
wasmer_instance_destroy(instance);
|
||||
printf("Destroy import object\n");
|
||||
//wasmer_import_object_destroy(import_object); // TODO update instantiate and try this again
|
||||
wasmer_import_object_destroy(import_object);
|
||||
return 0;
|
||||
}
|
@ -41,6 +41,6 @@ int main()
|
||||
printf("Destroy instance\n");
|
||||
wasmer_instance_destroy(instance);
|
||||
printf("Destroy import object\n");
|
||||
//wasmer_import_object_destroy(import_object); // TODO update instantiate and try this again
|
||||
wasmer_import_object_destroy(import_object);
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user