[前][次][番号順一覧][スレッド一覧]

ruby-changes:33819

From: nobu <ko1@a...>
Date: Sat, 10 May 2014 13:41:10 +0900 (JST)
Subject: [ruby-changes:33819] nobu:r45900 (trunk): process.c: use ruby_stop

nobu	2014-05-10 13:41:02 +0900 (Sat, 10 May 2014)

  New Revision: 45900

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45900

  Log:
    process.c: use ruby_stop
    
    * process.c (rb_exit): call ruby_stop() which calls ruby_cleanup(),
      instead of calling ruby_finalize() directly.

  Modified files:
    trunk/process.c
Index: process.c
===================================================================
--- process.c	(revision 45899)
+++ process.c	(revision 45900)
@@ -3532,8 +3532,7 @@ rb_exit(int status) https://github.com/ruby/ruby/blob/trunk/process.c#L3532
 	args[1] = rb_str_new2("exit");
 	rb_exc_raise(rb_class_new_instance(2, args, rb_eSystemExit));
     }
-    ruby_finalize();
-    exit(status);
+    ruby_stop(status);
 }
 
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]