Project

General

Profile

« Previous | Next » 

Revision ca1c3d41

Added by Eregon (Benoit Daloze) over 6 years ago

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]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e