mruby/mruby — pull request #2211 by take-cheeze (2014-05-08 13:29:40+00:00)
Title: Add API `mrb_atexit()`.

Functions registered with `mrb_atexit` will be called in `mrb_close`.
`mrb_final_mrbgems` will be called as `mrb_state` **at exit** function. (So it'll be `static` function.)
Maybe useful in #1844.