ruby-changes:59096
From: Kazuhiro <ko1@a...>
Date: Fri, 6 Dec 2019 00:13:24 +0900 (JST)
Subject: [ruby-changes:59096] 173b864668 (master): Do not start thread when `require 'drb/drb'` only
https://git.ruby-lang.org/ruby.git/commit/?id=173b864668 From 173b864668777ef157a0c82b6e6f1a6aa0f06ac9 Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA <zn@m...> Date: Thu, 5 Dec 2019 23:56:14 +0900 Subject: Do not start thread when `require 'drb/drb'` only diff --git a/lib/drb/drb.rb b/lib/drb/drb.rb index c1b2364..4c0f396 100644 --- a/lib/drb/drb.rb +++ b/lib/drb/drb.rb @@ -1285,7 +1285,7 @@ module DRb https://github.com/ruby/ruby/blob/trunk/lib/drb/drb.rb#L1285 end end end - @pool_proxy = make_pool + @pool_proxy = nil def self.stop_pool @pool_proxy&.kill -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/