[ruby-cvs:68365] eregon:r61184 (trunk): Avoid creating a Thread for shutting down a DRbServer

eregon at ruby-lang.org eregon at ruby-lang.org
Wed Dec 13 03:43:55 JST 2017


eregon	2017-12-13 03:43:55 +0900 (Wed, 13 Dec 2017)

  New Revision: 61184

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

  Log:
    Avoid creating a Thread for shutting down a DRbServer
    
    * lib/drb/drb.rb: avoid creating a Thread and call the shutdown logic
      directly. Do not try to kill or join the current Thread.
      Thread.new { stop_service } caused "can't alloc thread (ThreadError)",
      which is shown with Thread.report_on_exception = true.
      [Bug #14171]

  Modified files:
    trunk/lib/drb/drb.rb


More information about the ruby-cvs mailing list