diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-10 04:41:02 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-10 04:41:02 +0000 |
commit | 55d4afc77ee8a6601fe1f00aea025566da9044de (patch) | |
tree | 75c6cfbe0dc208ee53accb2e48f13247f455695e | |
parent | 9883632d6ad6dec664047df38f8098ef46963bb0 (diff) | |
download | ruby-55d4afc77ee8a6601fe1f00aea025566da9044de.tar.gz |
process.c: use ruby_stop
* process.c (rb_exit): call ruby_stop() which calls ruby_cleanup(),
instead of calling ruby_finalize() directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | process.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -3532,8 +3532,7 @@ rb_exit(int status) args[1] = rb_str_new2("exit"); rb_exc_raise(rb_class_new_instance(2, args, rb_eSystemExit)); } - ruby_finalize(); - exit(status); + ruby_stop(status); } |