From 64300b2c43e040ae2cd63bd0ef72a10a54db6631 Mon Sep 17 00:00:00 2001 From: take_cheeze Date: Thu, 8 May 2014 22:19:14 +0900 Subject: Add API `mrb_atexit()`. `mrb_final_mrbgems` will be called as mrb_state atexit function. Maybe useful in #1844. --- src/init.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/init.c') diff --git a/src/init.c b/src/init.c index c08c4b046..9489cea10 100644 --- a/src/init.c +++ b/src/init.c @@ -54,11 +54,3 @@ mrb_init_core(mrb_state *mrb) mrb_init_mrbgems(mrb); DONE; #endif } - -void -mrb_final_core(mrb_state *mrb) -{ -#ifndef DISABLE_GEMS - mrb_final_mrbgems(mrb); DONE; -#endif -} -- cgit v1.2.3