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

ruby-changes:51401

From: usa <ko1@a...>
Date: Fri, 8 Jun 2018 15:15:30 +0900 (JST)
Subject: [ruby-changes:51401] usa:r63607 (trunk): th is nil

usa	2018-06-08 15:15:23 +0900 (Fri, 08 Jun 2018)

  New Revision: 63607

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63607

  Log:
    th is nil

  Modified files:
    trunk/test/net/http/test_http.rb
Index: test/net/http/test_http.rb
===================================================================
--- test/net/http/test_http.rb	(revision 63606)
+++ test/net/http/test_http.rb	(revision 63607)
@@ -549,8 +549,8 @@ module TestNetHTTP_version_1_1_methods https://github.com/ruby/ruby/blob/trunk/test/net/http/test_http.rb#L549
       assert th.join(10)
     }
   ensure
-    th.kill
-    th.join
+    th&.kill
+    th&.join
   end
 
   def test_timeout_during_HTTP_session

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

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