Add instance_destroy back to test

This commit is contained in:
Brandon Fish 2019-02-04 19:49:28 -06:00
parent fa959fa6ee
commit 6ed72a50ce
2 changed files with 5 additions and 5 deletions

View File

@ -39,10 +39,10 @@ int main()
assert(print_str_called);
// TODO review import object ownership, instantiate moves it
printf("Destroy instance\n");
//wasmer_instance_destroy(instance); // TODO error here
wasmer_instance_destroy(instance);
printf("Destroy import object\n");
//wasmer_import_object_destroy(import_object); // TODO error here
//wasmer_import_object_destroy(import_object); // TODO update instantiate and try this again
return 0;
}

View File

@ -39,8 +39,8 @@ int main()
assert(call_result == WASMER_CALL_OK);
printf("Destroy instance\n");
//wasmer_instance_destroy(instance); // error here
wasmer_instance_destroy(instance);
printf("Destroy import object\n");
//wasmer_import_object_destroy(import_object); // error here
//wasmer_import_object_destroy(import_object); // TODO update instantiate and try this again
return 0;
}