This changes the AssemblyScript abort handler and WASI proc_exit implementation to panic the caller which eventually invoked close. This ensures no code executes afterwards, For example, LLVM inserts unreachable instructions after calls to exit. See https://github.com/emscripten-core/emscripten/issues/12322 See #601 Signed-off-by: Adrian Cole <adrian@tetrate.io>