mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
9883632d6a
commit
55d4afc77e
1 changed files with 1 additions and 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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue