Fix typo 'destory' and compile issue (#119)

* Optimize samples build process

* Samples: build 64 bit version by default

* Fix typo 'destory'

* Fix compile issue
This commit is contained in:
Weining
2019-09-10 15:52:03 +08:00
committed by wenyongh
parent 26149021ff
commit a770706cb6
15 changed files with 20 additions and 122 deletions

View File

@ -31,7 +31,7 @@ A typical WAMR API usage is shown below (some return value checks are ignored):
/* the return value is stored in argv[0] */
printf("fib function return: %d\n", argv[0]);
wasm_runtime_destory_exec_env(env);
wasm_runtime_destroy_exec_env(env);
wasm_runtime_deinstantiate(inst);
wasm_runtime_unload(module);
wasm_runtime_destroy();